1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix azure pipeline yarn cache (#1491)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-11-24 09:54:19 +02:00 committed by GitHub
parent cd4660b85b
commit 3922609204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,10 +30,9 @@ jobs:
displayName: Install Node.js displayName: Install Node.js
- task: Cache@2 - task: Cache@2
inputs: inputs:
key: yarn | $(Agent.OS) | yarn.lock key: 'yarn | "$(Agent.OS)"" | yarn.lock'
restoreKeys: | restoreKeys: |
yarn | "$(Agent.OS)" yarn | "$(Agent.OS)"
yarn
path: $(YARN_CACHE_FOLDER) path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages displayName: Cache Yarn packages
- script: make node_modules - script: make node_modules
@ -70,10 +69,9 @@ jobs:
displayName: Install Node.js displayName: Install Node.js
- task: Cache@2 - task: Cache@2
inputs: inputs:
key: yarn | $(Agent.OS) | yarn.lock key: 'yarn | "$(Agent.OS)" | yarn.lock'
restoreKeys: | restoreKeys: |
yarn | "$(Agent.OS)" yarn | "$(Agent.OS)"
yarn
path: $(YARN_CACHE_FOLDER) path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages displayName: Cache Yarn packages
- script: make node_modules - script: make node_modules
@ -116,10 +114,9 @@ jobs:
displayName: Install Node.js displayName: Install Node.js
- task: Cache@2 - task: Cache@2
inputs: inputs:
key: yarn | $(Agent.OS) | yarn.lock key: 'yarn | "$(Agent.OS)" | yarn.lock'
restoreKeys: | restoreKeys: |
yarn | "$(Agent.OS)" yarn | "$(Agent.OS)"
yarn
path: $(YARN_CACHE_FOLDER) path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages displayName: Cache Yarn packages
- script: make node_modules - script: make node_modules