Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Force public npm registry to avoid CI auth (E401) when no token is provided
registry=https://registry.npmjs.org/
# Do not require auth for public installs
always-auth=false
registry=https://devdiv.pkgs.visualstudio.com/_packaging/VS/nuget/v3/index.json

25 changes: 1 addition & 24 deletions build/azure-devdiv-pipeline.pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,30 +66,7 @@ extends:
artifactName: drop
sbomEnabled: true
steps:
- task: npmAuthenticate@0
inputs:
workingFile: .npmrc

- script: npm config get registry
displayName: Verify NPM Registry

- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
checkLatest: true
displayName: Select Node 22 LTS

- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'DevDiv/debugpy'

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
addToPath: true
architecture: 'x64'
displayName: Select Python version
- template: build/templates/setup.yml@self

- script: npm ci
displayName: Install NPM dependencies
Expand Down
12 changes: 1 addition & 11 deletions build/azure-devdiv-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,7 @@ extends:
artifactName: drop
sbomEnabled: true
steps:
- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
checkLatest: true
displayName: Select Node 22 LTS
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
addToPath: true
architecture: 'x64'
displayName: Select Python version
- template: build/templates/setup.yml@self

- script: npm ci
displayName: Install NPM dependencies
Expand Down
26 changes: 26 additions & 0 deletions build/templates/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# DevDiv pipeline setup steps (no parameters)
steps:
- task: npmAuthenticate@0
inputs:
workingFile: .npmrc

- script: npm config get registry
displayName: Verify NPM Registry

- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
checkLatest: true
displayName: Select Node 22 LTS

- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'DevDiv/debugpy'

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
addToPath: true
architecture: 'x64'
displayName: Select Python version
Loading