Fix azure pipeline yarn cache (#1491)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-11-24 09:54:19 +02:00
1 parent cd4660b85b
commit 3922609204
1 file changed
+3 -6
+3 -6
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