Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: reenable automated canary releases for master #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'