chore(ci): ignore caching related errors (#4663)

This should reduce failed builds and will slow down build on cache errors.
This commit is contained in:
Michael Kriese 2019-10-16 10:42:11 +02:00 committed by Rhys Arkins
parent 85e008e01c
commit b7bcdee7c2

View file

@ -30,6 +30,7 @@ steps:
key: yarn_cache | $(Agent.OS) | $(Build.SourcesDirectory)/yarn.lock
path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages
continueOnError: true
# does not work on linux or mac :-(
- task: CacheBeta@0
@ -38,6 +39,7 @@ steps:
path: $(Build.SourcesDirectory)/node_modules
displayName: Cache node_modules
condition: eq(variables['Agent.OS'], 'Windows_NT')
continueOnError: true
- bash: |
yarn install --frozen-lockfile --link-duplicates