Skip to content

Commit 84ba42d

Browse files
Publish the package for the Node16 only in CI (#629)
1 parent ab53699 commit 84ba42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extends:
5858
displayName: Run unit tests
5959
- task: Npm@1
6060
displayName: Publish azure-devops-node-api to npm
61-
condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), eq(variables['build.sourcebranchname'], 'master'))
61+
condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), eq(variables['build.sourcebranchname'], 'master'), and(variables['npmVersion'], '8'))
6262
inputs:
6363
command: custom
6464
customCommand: publish --tag prerelease

0 commit comments

Comments
 (0)