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

Skip to content

Commit 2e2fe90

Browse files
authored
chore: reenable automated canary releases for master (typescript-eslint#849)
1 parent 05ba268 commit 2e2fe90

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

azure-pipelines.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,28 @@ jobs:
7777
yarn test
7878
displayName: 'Run unit tests'
7979
80-
# - job: publish_canary_version
81-
# displayName: Publish the latest code as a canary version
82-
# dependsOn:
83-
# - primary_code_validation_and_tests
84-
# - unit_tests_on_other_node_versions
85-
# condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
86-
# pool:
87-
# vmImage: 'Ubuntu-16.04'
88-
# steps:
89-
# - task: NodeTool@0
90-
# inputs:
91-
# versionSpec: 11
92-
# displayName: 'Install Node.js 11'
93-
94-
# - script: |
95-
# # This also runs a build as part of the postinstall
96-
# # bootstrap
97-
# yarn --ignore-engines --frozen-lockfile
98-
99-
# - script: |
100-
# npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)
101-
102-
# - script: |
103-
# npx lerna publish --canary --exact --force-publish --yes
104-
# displayName: 'Publish all packages to npm'
80+
- job: publish_canary_version
81+
displayName: Publish the latest code as a canary version
82+
dependsOn:
83+
- primary_code_validation_and_tests
84+
- unit_tests_on_other_node_versions
85+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
86+
pool:
87+
vmImage: 'Ubuntu-16.04'
88+
steps:
89+
- task: NodeTool@0
90+
inputs:
91+
versionSpec: 11
92+
displayName: 'Install Node.js 11'
93+
94+
- script: |
95+
# This also runs a build as part of the postinstall
96+
# bootstrap
97+
yarn --ignore-engines --frozen-lockfile
98+
99+
- script: |
100+
npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)
101+
102+
- script: |
103+
npx lerna publish --canary --exact --force-publish --yes
104+
displayName: 'Publish all packages to npm'

0 commit comments

Comments
 (0)