Merge pull request #2580 from Tyriar/puppeteer_release
Skip puppeteer download during release job
This commit is contained in:
@@ -127,6 +127,8 @@ jobs:
|
|||||||
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['FORCE_RELEASE'], 'true')))
|
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['FORCE_RELEASE'], 'true')))
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
|
variables:
|
||||||
|
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
@@ -140,6 +142,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
key: yarn2 | $(Agent.OS) | yarn.lock
|
key: yarn2 | $(Agent.OS) | yarn.lock
|
||||||
path: node_modules
|
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: NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js
|
- script: NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js
|
||||||
|
|||||||
Reference in New Issue
Block a user