@@ -77,28 +77,28 @@ jobs:
77
77
yarn test
78
78
displayName: 'Run unit tests'
79
79
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