7
7
- releases/*
8
8
9
9
variables :
10
- - group : npm-tokens
11
- - name : nodeVersion
12
- value : ' 16.13.0'
10
+ - group : npm-tokens
11
+ - name : nodeVersion
12
+ value : ' 16.13.0'
13
13
14
14
resources :
15
15
repositories :
@@ -38,28 +38,18 @@ extends:
38
38
# ################################################
39
39
- job : windows
40
40
# ################################################
41
- displayName : windows
42
41
pool :
43
42
name : 1ES-ABTT-Shared-Pool
44
43
image : abtt-windows-2022
45
44
os : windows
46
45
steps :
47
46
- template : /azure-pipelines-steps-node.yml@self
48
47
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
58
49
59
50
# ################################################
60
51
- job : linux
61
52
# ################################################
62
- displayName : Linux
63
53
pool :
64
54
name : 1ES-ABTT-Shared-Pool
65
55
image : abtt-ubuntu-2204
@@ -73,29 +63,16 @@ extends:
73
63
steps :
74
64
- template : /azure-pipelines-steps-node.yml@self
75
65
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
87
67
88
68
# ################################################
89
69
- job : macOS
90
70
# ################################################
91
- displayName : macOS
92
71
pool :
93
72
name : Azure Pipelines
94
73
image : macOS-latest
95
74
os : macOS
96
75
steps :
97
76
- template : /azure-pipelines-steps-node.yml@self
98
77
parameters :
99
- nodeVersion : $(nodeVersion)
100
-
101
- - template : /azure-pipelines-steps-test-build.yml@self
78
+ os : Darwin
0 commit comments