Skip to content

Use shared authenticated npm config in pipelines - #11626

Merged
Heejae Chang (heejaechang) merged 1 commit into
microsoft:mainfrom
heejaechang:fix/authenticate-pyright-typeserver-npm
Aug 11, 2026
Merged

Heejae Chang (heejaechang) merged 1 commit into
microsoft:mainfrom
heejaechang:fix/authenticate-pyright-typeserver-npm

Conversation

@heejaechang

Copy link
Copy Markdown
Collaborator

Summary

Uses one runtime-generated, authenticated npm configuration for all workspace installs in the Pyright Azure pipelines.

The release install runs npm in every Lerna workspace. Per-package authentication did not cover newly added workspaces, causing an authenticated-feed failure during the 1.1.412 release build. NPM_CONFIG_USERCONFIG now routes all npm child processes through the same authenticated configuration.

The release pipeline also copies that configuration for Yarn validation and authenticates the Marketplace job's global npm install.

Validation

  • npm run check
  • Audited every install path in both Azure pipeline definitions

@StellaHuang95

Copy link
Copy Markdown
Collaborator

🔒 Automated review in progress — Stella Huang (@StellaHuang95) is auto-reviewing this PR.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved via Review Center.

@StellaHuang95 Stella Huang (StellaHuang95) added the review-auto:approved Automated review: no blocking findings (approval posted). label Aug 11, 2026

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved via Review Center.

@heejaechang
Heejae Chang (heejaechang) merged commit fceca4d into microsoft:main Aug 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-auto:approved Automated review: no blocking findings (approval posted).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants