mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Cache node modules with puppeteer
This commit is contained in:
@@ -98,6 +98,11 @@ jobs:
|
||||
inputs:
|
||||
versionSpec: '8.x'
|
||||
displayName: 'Install Node.js'
|
||||
- task: CacheBeta@1
|
||||
inputs:
|
||||
key: yarn_puppeteer | $(Agent.OS) | yarn.lock
|
||||
path: node_modules
|
||||
displayName: Cache Yarn packages
|
||||
- task: YarnInstaller@3
|
||||
inputs:
|
||||
versionSpec: '1.x'
|
||||
@@ -120,6 +125,11 @@ jobs:
|
||||
inputs:
|
||||
versionSpec: '8.x'
|
||||
displayName: 'Install Node.js'
|
||||
- task: CacheBeta@1
|
||||
inputs:
|
||||
key: yarn_puppeteer | $(Agent.OS) | yarn.lock
|
||||
path: node_modules
|
||||
displayName: Cache Yarn packages
|
||||
- script: yarn --frozen-lockfile
|
||||
displayName: 'Install dependencies and build'
|
||||
- script: yarn add puppeteer
|
||||
|
||||
Reference in New Issue
Block a user