fix: force public npm registry for pnpm self-installer bootstrap #33

Merged
Michael.Seele merged 1 commit from bugfix/pnpm-bootstrap-registry into main 2026-05-22 08:41:28 +00:00

1 commit

Author SHA1 Message Date
6dc474f759 fix: force public npm registry for pnpm self-installer bootstrap
All checks were successful
Aikido Security PR Check / Aikido Security Scan (pull_request) Successful in 40s
validate-shared-actions / validate-shared-actions (pull_request) Successful in 39s
pnpm/action-setup bootstraps itself via npm before pnpm is available.
If a repo has a custom registry in .npmrc (e.g. pointing to JFrog or
Nexus), the self-installer tries to fetch pnpm from that registry
without credentials and fails with exit code 1.

Setting NPM_CONFIG_REGISTRY overrides .npmrc for this step only,
ensuring pnpm is always fetched from the public registry. Private
registry auth is configured in subsequent steps once pnpm is ready.
2026-05-22 09:29:42 +02:00