Merge pull request #2580 from Tyriar/puppeteer_release

Skip puppeteer download during release job
This commit is contained in:
Daniel Imms
2019-11-24 09:47:18 -08:00
committed by GitHub
+3
View File
@@ -127,6 +127,8 @@ jobs:
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['FORCE_RELEASE'], 'true')))
pool:
vmImage: 'ubuntu-16.04'
variables:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1
steps:
- task: NodeTool@0
inputs:
@@ -140,6 +142,7 @@ jobs:
inputs:
key: yarn2 | $(Agent.OS) | yarn.lock
path: node_modules
displayName: Cache node modules
- script: yarn --frozen-lockfile
displayName: 'Install dependencies and build'
- script: NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js