Skip to content

Commit 54956d4

Browse files
Migration to CFS (#605)
* Migration to CFS * Add NpmAuthenticate@0 task before the installation task
1 parent be525f3 commit 54956d4

File tree

7 files changed

+1225
-1468
lines changed

7 files changed

+1225
-1468
lines changed

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ extends:
4747
displayName: Install node
4848
- script: npm install -g npm@$(npmVersion)
4949
displayName: Upgrade npm
50+
- task: NpmAuthenticate@0
51+
inputs:
52+
workingFile: .npmrc
5053
- script: npm install
5154
displayName: npm install
5255
- script: npm run build

package-lock.json

Lines changed: 1208 additions & 990 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

samples/package-lock.json

Lines changed: 1 addition & 288 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

0 commit comments

Comments
 (0)