Skip to content

Commit

Permalink
Migration to CFS (#605)
Browse files Browse the repository at this point in the history
* Migration to CFS

* Add NpmAuthenticate@0 task before the installation task
  • Loading branch information
ivanduplenskikh authored Sep 9, 2024
1 parent be525f3 commit 54956d4
Show file tree
Hide file tree
Showing 7 changed files with 1,225 additions and 1,468 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ extends:
displayName: Install node
- script: npm install -g npm@$(npmVersion)
displayName: Upgrade npm
- task: NpmAuthenticate@0
inputs:
workingFile: .npmrc
- script: npm install
displayName: npm install
- script: npm run build
Expand Down
2,198 changes: 1,208 additions & 990 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions samples/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
289 changes: 1 addition & 288 deletions samples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
Loading

0 comments on commit 54956d4

Please sign in to comment.