@@ -63,6 +63,12 @@ stages:
63
63
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
64
64
restoreKeys: $(Agent.OS) | nuget-packages
65
65
path: $(HOME)/.nuget/packages
66
+ - task: NuGetAuthenticate@1
67
+ displayName: 'NuGet Authenticate'
68
+ - task: npmAuthenticate@0
69
+ displayName: 'npm Authenticate .npmrc'
70
+ inputs:
71
+ workingFile: '.npmrc'
66
72
- task: CmdLine@2
67
73
displayName: 'Run: Restore'
68
74
inputs:
@@ -96,6 +102,12 @@ stages:
96
102
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
97
103
restoreKeys: $(Agent.OS) | nuget-packages
98
104
path: $(HOME)/.nuget/packages
105
+ - task: NuGetAuthenticate@1
106
+ displayName: 'NuGet Authenticate'
107
+ - task: npmAuthenticate@0
108
+ displayName: 'npm Authenticate .npmrc'
109
+ inputs:
110
+ workingFile: '.npmrc'
99
111
- task: CmdLine@2
100
112
displayName: 'Run: Compile'
101
113
inputs:
@@ -131,6 +143,12 @@ stages:
131
143
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
132
144
restoreKeys: $(Agent.OS) | nuget-packages
133
145
path: $(HOME)/.nuget/packages
146
+ - task: NuGetAuthenticate@1
147
+ displayName: 'NuGet Authenticate'
148
+ - task: npmAuthenticate@0
149
+ displayName: 'npm Authenticate .npmrc'
150
+ inputs:
151
+ workingFile: '.npmrc'
134
152
- task: CmdLine@2
135
153
displayName: 'Run: Test'
136
154
inputs:
@@ -164,6 +182,12 @@ stages:
164
182
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
165
183
restoreKeys: $(Agent.OS) | nuget-packages
166
184
path: $(HOME)/.nuget/packages
185
+ - task: NuGetAuthenticate@1
186
+ displayName: 'NuGet Authenticate'
187
+ - task: npmAuthenticate@0
188
+ displayName: 'npm Authenticate .npmrc'
189
+ inputs:
190
+ workingFile: '.npmrc'
167
191
- task: CmdLine@2
168
192
displayName: 'Run: Coverage'
169
193
inputs:
@@ -203,6 +227,12 @@ stages:
203
227
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
204
228
restoreKeys: $(Agent.OS) | nuget-packages
205
229
path: $(USERPROFILE)/.nuget/packages
230
+ - task: NuGetAuthenticate@1
231
+ displayName: 'NuGet Authenticate'
232
+ - task: npmAuthenticate@0
233
+ displayName: 'npm Authenticate .npmrc'
234
+ inputs:
235
+ workingFile: '.npmrc'
206
236
- task: CmdLine@2
207
237
displayName: 'Run: Restore'
208
238
inputs:
@@ -236,6 +266,12 @@ stages:
236
266
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
237
267
restoreKeys: $(Agent.OS) | nuget-packages
238
268
path: $(USERPROFILE)/.nuget/packages
269
+ - task: NuGetAuthenticate@1
270
+ displayName: 'NuGet Authenticate'
271
+ - task: npmAuthenticate@0
272
+ displayName: 'npm Authenticate .npmrc'
273
+ inputs:
274
+ workingFile: '.npmrc'
239
275
- task: CmdLine@2
240
276
displayName: 'Run: Compile'
241
277
inputs:
@@ -271,6 +307,12 @@ stages:
271
307
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
272
308
restoreKeys: $(Agent.OS) | nuget-packages
273
309
path: $(USERPROFILE)/.nuget/packages
310
+ - task: NuGetAuthenticate@1
311
+ displayName: 'NuGet Authenticate'
312
+ - task: npmAuthenticate@0
313
+ displayName: 'npm Authenticate .npmrc'
314
+ inputs:
315
+ workingFile: '.npmrc'
274
316
- task: CmdLine@2
275
317
displayName: 'Run: Test'
276
318
inputs:
@@ -304,6 +346,12 @@ stages:
304
346
key: $(Agent.OS) | nuget-packages | **/global.json, **/*.csproj, **/Directory.Packages.props
305
347
restoreKeys: $(Agent.OS) | nuget-packages
306
348
path: $(USERPROFILE)/.nuget/packages
349
+ - task: NuGetAuthenticate@1
350
+ displayName: 'NuGet Authenticate'
351
+ - task: npmAuthenticate@0
352
+ displayName: 'npm Authenticate .npmrc'
353
+ inputs:
354
+ workingFile: '.npmrc'
307
355
- task: CmdLine@2
308
356
displayName: 'Run: Coverage'
309
357
inputs:
0 commit comments