fix(ci): Copilot build uses public registry#319982
Merged
Merged
Conversation
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @lszomoruMatched files:
|
This comment was marked as spam.
This comment was marked as spam.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Copilot extension Azure Pipelines setup to explicitly configure the NPM registry (and authentication) during CI, aligning Copilot’s build environment with the registry configuration used by other VS Code product pipelines and ensuring cache keys reflect registry-dependent lockfile content.
Changes:
- Adds a “Setup NPM Registry” step to rewrite
package-lock.jsonregistry URLs viabuild/setup-npm-registry.ts. - Adds NPM registry + authentication setup (
npm config set registry+npmAuthenticate@0) when the Copilot build cache is not restored. - Bumps the Copilot build cache salt to force a fresh cache.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| extensions/copilot/build/.cachesalt | Cache-busts the Copilot build cache by updating the salt timestamp. |
| build/azure-pipelines/copilot/setup-steps.yml | Configures NPM registry and authentication in the Copilot pipeline setup steps. |
dileepyavan
reviewed
Jun 4, 2026
Collaborator
Author
|
New verification build: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=444987&view=results |
dmitrivMS
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Verification build: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=444974&view=results
Do not merge until the verification build succeeds.