Skip to content
Permalink
Browse files

chore: reenable automated canary releases for master (#849)

  • Loading branch information...
JamesHenry committed Aug 13, 2019
1 parent 05ba268 commit 2e2fe90c6645cfc59e59a90b6542415e735dcbb9
Showing with 25 additions and 25 deletions.
  1. +25 −25 azure-pipelines.yml
@@ -77,28 +77,28 @@ jobs:
yarn test
displayName: 'Run unit tests'
# - job: publish_canary_version
# displayName: Publish the latest code as a canary version
# dependsOn:
# - primary_code_validation_and_tests
# - unit_tests_on_other_node_versions
# condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
# pool:
# vmImage: 'Ubuntu-16.04'
# steps:
# - task: NodeTool@0
# inputs:
# versionSpec: 11
# displayName: 'Install Node.js 11'

# - script: |
# # This also runs a build as part of the postinstall
# # bootstrap
# yarn --ignore-engines --frozen-lockfile

# - script: |
# npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)

# - script: |
# npx lerna publish --canary --exact --force-publish --yes
# displayName: 'Publish all packages to npm'
- job: publish_canary_version
displayName: Publish the latest code as a canary version
dependsOn:
- primary_code_validation_and_tests
- unit_tests_on_other_node_versions
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: 11
displayName: 'Install Node.js 11'

- script: |
# This also runs a build as part of the postinstall
# bootstrap
yarn --ignore-engines --frozen-lockfile
- script: |
npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)
- script: |
npx lerna publish --canary --exact --force-publish --yes
displayName: 'Publish all packages to npm'

0 comments on commit 2e2fe90

Please sign in to comment.
You can’t perform that action at this time.