File tree Expand file tree Collapse file tree 4 files changed +34
-39
lines changed
Expand file tree Collapse file tree 4 files changed +34
-39
lines changed Original file line number Diff line number Diff line change 1- # Force public npm registry to avoid CI auth (E401) when no token is provided
2- registry = https://registry.npmjs.org/
3- # Do not require auth for public installs
4- always-auth = false
1+ # Use the Azure Artifacts *npm* registry endpoint (not NuGet v3) so npm can resolve tarballs.
2+ # This matches the pipeline AZURE_ARTIFACTS_FEED value.
3+ registry = https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/
4+
5+
6+
Original file line number Diff line number Diff line change @@ -66,30 +66,7 @@ extends:
6666 artifactName : drop
6767 sbomEnabled : true
6868 steps :
69- - task : npmAuthenticate@0
70- inputs :
71- workingFile : .npmrc
72-
73- - script : npm config get registry
74- displayName : Verify NPM Registry
75-
76- - task : NodeTool@0
77- inputs :
78- versionSpec : ' 22.17.0'
79- checkLatest : true
80- displayName : Select Node 22 LTS
81-
82- - task : PipAuthenticate@1
83- displayName : ' Pip Authenticate'
84- inputs :
85- artifactFeeds : ' DevDiv/debugpy'
86-
87- - task : UsePythonVersion@0
88- inputs :
89- versionSpec : ' 3.9' # note Install Python dependencies step below relies on Python 3.9
90- addToPath : true
91- architecture : ' x64'
92- displayName : Select Python version
69+ - template : build/templates/setup.yml@self
9370
9471 - script : npm ci
9572 displayName : Install NPM dependencies
Original file line number Diff line number Diff line change @@ -59,17 +59,7 @@ extends:
5959 artifactName : drop
6060 sbomEnabled : true
6161 steps :
62- - task : NodeTool@0
63- inputs :
64- versionSpec : ' 22.17.0'
65- checkLatest : true
66- displayName : Select Node 22 LTS
67- - task : UsePythonVersion@0
68- inputs :
69- versionSpec : ' 3.9' # note Install Python dependencies step below relies on Python 3.9
70- addToPath : true
71- architecture : ' x64'
72- displayName : Select Python version
62+ - template : build/templates/setup.yml@self
7363
7464 - script : npm ci
7565 displayName : Install NPM dependencies
Original file line number Diff line number Diff line change 1+ # DevDiv pipeline setup steps (no parameters)
2+ steps :
3+ - task : npmAuthenticate@0
4+ inputs :
5+ workingFile : .npmrc
6+
7+ - script : npm config get registry
8+ displayName : Verify NPM Registry
9+
10+ - task : NodeTool@0
11+ inputs :
12+ versionSpec : ' 22.17.0'
13+ checkLatest : true
14+ displayName : Select Node 22 LTS
15+
16+ - task : PipAuthenticate@1
17+ displayName : ' Pip Authenticate'
18+ inputs :
19+ artifactFeeds : ' DevDiv/debugpy'
20+
21+ - task : UsePythonVersion@0
22+ inputs :
23+ versionSpec : ' 3.9' # note Install Python dependencies step below relies on Python 3.9
24+ addToPath : true
25+ architecture : ' x64'
26+ displayName : Select Python version
You can’t perform that action at this time.
0 commit comments