Skip to content

Commit

Permalink
Migration to CFS (#1060)
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 3de580e commit 6224ae1
Show file tree
Hide file tree
Showing 6 changed files with 440 additions and 375 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
8 changes: 8 additions & 0 deletions azure-pipelines-steps-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ steps:
inputs:
versionSpec: $(nodeVersion)

- task: NpmAuthenticate@0
inputs:
workingFile: .npmrc

- script: npm ci
displayName: (task-lib) npm ci
workingDirectory: node
Expand Down Expand Up @@ -40,6 +44,10 @@ steps:
projects: 'powershell/CompiledHelpers/VstsTaskSdk.csproj'
arguments: '--configuration Release'

- task: NpmAuthenticate@0
inputs:
workingFile: .npmrc

- script: npm ci
displayName: (VstsTaskSdk) npm ci
workingDirectory: powershell
Expand Down
3 changes: 3 additions & 0 deletions node/.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 6224ae1

Please sign in to comment.