77- releases/*
88
99variables :
10- - group : npm-tokens
11- - name : nodeVersion
12- value : ' 16.13.0'
10+ - group : npm-tokens
11+ - name : nodeVersion
12+ value : ' 16.13.0'
1313
1414resources :
1515 repositories :
@@ -38,28 +38,18 @@ extends:
3838 # ################################################
3939 - job : windows
4040 # ################################################
41- displayName : windows
4241 pool :
4342 name : 1ES-ABTT-Shared-Pool
4443 image : abtt-windows-2022
4544 os : windows
4645 steps :
4746 - template : /azure-pipelines-steps-node.yml@self
4847 parameters :
49- nodeVersion : $(nodeVersion)
50- - template : /azure-pipelines-steps-test-build.yml@self
51-
52- - task : DotNetCoreCLI@2
53- displayName : ' Build .NET project(s)'
54- inputs :
55- command : build
56- projects : ' **/*.csproj'
57- arguments : ' --configuration Release'
48+ os : Windows_NT
5849
5950 # ################################################
6051 - job : linux
6152 # ################################################
62- displayName : Linux
6353 pool :
6454 name : 1ES-ABTT-Shared-Pool
6555 image : abtt-ubuntu-2204
@@ -73,29 +63,16 @@ extends:
7363 steps :
7464 - template : /azure-pipelines-steps-node.yml@self
7565 parameters :
76- nodeVersion : $(nodeVersion)
77- - template : /azure-pipelines-steps-test-build.yml@self
78- # For CI runs on master, automatically publish packages
79- - bash : |
80- echo //registry.npmjs.org/:_authToken=\${NPM_TOKEN} > .npmrc
81- npm publish || true # Ignore publish failures, usually will happen because package already exists
82- displayName: npm publish
83- workingDirectory: node/_build
84- condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), in(variables['build.sourcebranch'], 'refs/heads/master'))
85- env:
86- NPM_TOKEN: $(npm-automation.token)
66+ os : Linux
8767
8868 # ################################################
8969 - job : macOS
9070 # ################################################
91- displayName : macOS
9271 pool :
9372 name : Azure Pipelines
9473 image : macOS-latest
9574 os : macOS
9675 steps :
9776 - template : /azure-pipelines-steps-node.yml@self
9877 parameters :
99- nodeVersion : $(nodeVersion)
100-
101- - template : /azure-pipelines-steps-test-build.yml@self
78+ os : Darwin
0 commit comments