Skip to content

Commit 45dd36a

Browse files
committed
Add Azure DevOps NPM feed
1 parent a520cb1 commit 45dd36a

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
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

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

59+
- task: npmAuthenticate@0
60+
inputs:
61+
workingFile: $(Build.SourcesDirectory)/vscode-powershell/.npmrc
62+
5963
# We don't just use installPSResources.ps1 because we haven't always cloned PowerShellEditorServices
6064
- task: PowerShell@2
6165
displayName: Build and package

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

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

8+
- task: npmAuthenticate@0
9+
inputs:
10+
workingFile: .npmrc
11+
812
- pwsh: |
913
npm ci --loglevel=error
1014
Import-Module $(Build.SourcesDirectory)/tools/VersionTools.psm1

0 commit comments

Comments
 (0)