Skip to content

route npm package pulls through the public cfs proxy - #496

Closed
brandonganem wants to merge 1 commit into
mainfrom
brandonganem-cfs-package-rollout
Closed

route npm package pulls through the public cfs proxy#496
brandonganem wants to merge 1 commit into
mainfrom
brandonganem-cfs-package-rollout

Conversation

@brandonganem

Copy link
Copy Markdown

Repository package restores now use the public CFS npm proxy while Actions retain a centrally managed registry override with a safe public fallback.

What

  • Default local npm restores to the public CFS proxy.
  • Configure every repository Actions npm install job with vars.CFS_NPM_REGISTRY and the public fallback.
  • Keep Dependabot configuration, lockfile URLs, and the committed action bundle unchanged.

Why

Centralizing package pulls gives the repository a consistent CFS route without rewriting lockfile tarball hosts or enabling the incompatible NPM_CONFIG_REPLACE_REGISTRY_HOST=always setting.

Validation

  • Locked npm ci --ignore-scripts --no-audit --no-fund completed through the public CFS proxy and left package-lock.json unchanged.
  • npm run format-check, both TypeScript checks, the policy lint, YAML parsing, and npm run package passed; the bundle reproduced exactly.
  • The native test wrapper is deferred to CI because this workspace has Node 25.8.2 while the repository requires Node 24.18.0.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 17:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Routes npm dependency restores through the public CFS proxy while allowing centrally managed CI overrides.

Changes:

  • Sets the public CFS proxy as the local npm registry.
  • Configures all npm-installing workflows with an override and public fallback.
  • Preserves lockfile and bundled artifacts.
Show a summary per file
File Description
.npmrc Sets the default npm registry proxy.
.github/workflows/test.yml Configures the test registry.
.github/workflows/release.yml Configures the release registry.
.github/workflows/package-check.yml Configures the package-check registry.
.github/workflows/lint.yml Configures the lint registry.
.github/workflows/copilot-setup-steps.yml Configures the setup registry.
.github/workflows/acceptance.yml Configures the acceptance registry.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 7/7 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants