Skip to content
Merged
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
10 changes: 6 additions & 4 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 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
# Use the Azure Artifacts *npm* registry endpoint (not NuGet v3) so npm can resolve tarballs.
# This matches the pipeline AZURE_ARTIFACTS_FEED value.
registry=https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change feed to pylance feed




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'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use debugpy's python feed


- 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