Skip to content

Commit bf09449

Browse files
committedFeb 13, 2024
Revert "Add private NPM registry only during ADO build"
This reverts commit 946c8a4.
1 parent f35e592 commit bf09449

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed
 

‎.npmrc

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
; We use Dependabot to update our packages, so we want to add without a prefix
22
save-exact=true
3+
; We download from a private feed during the release process
4+
registry=https://pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/
5+
always-auth=true

‎.vsts-ci/templates/ci-general.yml

-9
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ steps:
5656
inputs:
5757
version: 18.x
5858

59-
- task: PowerShell@2
60-
displayName: Add private NPM registry
61-
inputs:
62-
targetType: inline
63-
pwsh: true
64-
script: |
65-
Add-Content .npmrc "always-auth=true"
66-
Add-Content .npmrc "registry=https://pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/"
67-
6859
- task: npmAuthenticate@0
6960
inputs:
7061
workingFile: $(Build.SourcesDirectory)/vscode-powershell/.npmrc

‎.vsts-ci/templates/publish-markets.yml

-9
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ steps:
55
artifact: vscode-powershell
66
displayName: Download signed artifacts
77

8-
- task: PowerShell@2
9-
displayName: Add private NPM registry
10-
inputs:
11-
targetType: inline
12-
pwsh: true
13-
script: |
14-
Add-Content .npmrc "always-auth=true"
15-
Add-Content .npmrc "registry=https://pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/"
16-
178
- task: npmAuthenticate@0
189
inputs:
1910
workingFile: .npmrc

0 commit comments

Comments
 (0)
Please sign in to comment.