dont cache yarn
This commit is contained in:
parent
b237612c60
commit
ef46397c7c
1 changed files with 12 additions and 12 deletions
|
@ -31,12 +31,12 @@ jobs:
|
|||
versionSource: "fromFile"
|
||||
versionFilePath: ".nvmrc"
|
||||
|
||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||
path: $(YARN_CACHE_FOLDER)
|
||||
displayName: Cache yarn
|
||||
# - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||
# - task: Cache@2
|
||||
# inputs:
|
||||
# key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||
# path: $(YARN_CACHE_FOLDER)
|
||||
# displayName: Cache yarn
|
||||
|
||||
- script: |
|
||||
yarn set version from sources
|
||||
|
@ -86,12 +86,12 @@ jobs:
|
|||
versionSource: "fromFile"
|
||||
versionFilePath: ".nvmrc"
|
||||
|
||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||
path: $(YARN_CACHE_FOLDER)
|
||||
displayName: Cache yarn
|
||||
# - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||
# - task: Cache@2
|
||||
# inputs:
|
||||
# key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||
# path: $(YARN_CACHE_FOLDER)
|
||||
# displayName: Cache yarn
|
||||
|
||||
- script: |
|
||||
yarn set version from sources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue