Cache yarn modules on integration test jobs
This commit is contained in:
@@ -89,6 +89,11 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
versionSpec: '1.x'
|
versionSpec: '1.x'
|
||||||
displayName: 'Install Yarn'
|
displayName: 'Install Yarn'
|
||||||
|
- task: CacheBeta@1
|
||||||
|
inputs:
|
||||||
|
key: yarn2 | $(Agent.OS) | yarn.lock
|
||||||
|
path: node_modules
|
||||||
|
displayName: Cache node modules
|
||||||
- script: yarn --frozen-lockfile
|
- script: yarn --frozen-lockfile
|
||||||
displayName: 'Install dependencies and build'
|
displayName: 'Install dependencies and build'
|
||||||
- script: |
|
- script: |
|
||||||
@@ -110,6 +115,11 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '10.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
|
- task: CacheBeta@1
|
||||||
|
inputs:
|
||||||
|
key: yarn2 | $(Agent.OS) | yarn.lock
|
||||||
|
path: node_modules
|
||||||
|
displayName: Cache node modules
|
||||||
- script: yarn --frozen-lockfile
|
- script: yarn --frozen-lockfile
|
||||||
displayName: 'Install dependencies and build'
|
displayName: 'Install dependencies and build'
|
||||||
- script: |
|
- script: |
|
||||||
|
|||||||
Reference in New Issue
Block a user