Skip to content

Commit 5dbd815

Browse files
Use authenticated npmrc
1 parent ffe7038 commit 5dbd815

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

eng/test-steps.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ steps:
77
- task: UseDotNet@2
88
inputs:
99
version: 6.x
10+
- template: /eng/common/pipelines/templates/steps/create-authenticated-npmrc.yml
11+
parameters:
12+
npmrcPath: $(Agent.TempDirectory)/test/.npmrc
1013
- script: npm ci
1114
displayName: npm ci
15+
env:
16+
npm_config_userconfig: "$(Agent.TempDirectory)/test/.npmrc"
1217
- script: npm run lint
1318
displayName: lint
1419
- script: npm run prettier

0 commit comments

Comments
 (0)