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"
|
versionSource: "fromFile"
|
||||||
versionFilePath: ".nvmrc"
|
versionFilePath: ".nvmrc"
|
||||||
|
|
||||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
# - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- task: Cache@2
|
# - task: Cache@2
|
||||||
inputs:
|
# inputs:
|
||||||
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
# key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||||
path: $(YARN_CACHE_FOLDER)
|
# path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: Cache yarn
|
# displayName: Cache yarn
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
yarn set version from sources
|
yarn set version from sources
|
||||||
|
@ -86,12 +86,12 @@ jobs:
|
||||||
versionSource: "fromFile"
|
versionSource: "fromFile"
|
||||||
versionFilePath: ".nvmrc"
|
versionFilePath: ".nvmrc"
|
||||||
|
|
||||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
# - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- task: Cache@2
|
# - task: Cache@2
|
||||||
inputs:
|
# inputs:
|
||||||
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
# key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||||
path: $(YARN_CACHE_FOLDER)
|
# path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: Cache yarn
|
# displayName: Cache yarn
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
yarn set version from sources
|
yarn set version from sources
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue