Skip to content

ci: migrate to npm 12 - #45

Merged
achoimet merged 2 commits into
mainfrom
chore/npm-12
Aug 11, 2026
Merged

ci: migrate to npm 12#45
achoimet merged 2 commits into
mainfrom
chore/npm-12

Conversation

@achoimet

Copy link
Copy Markdown
Member

npm 12 disables dependency install scripts (plus git and remote-URL dependencies) by default — see the npm v12.0.0 release notes. This migrates CI to npm 12.

  • Install npm 12 explicitly after setup-node in both the verify matrix and the release job — no Node.js release bundles npm 12 yet. All matrix Node versions (22 / 24 / 26) satisfy npm 12's ^22.22.2 || ^24.15.0 || >=26.0.0 range when resolved to current patches.
  • npm publish is unchanged: the release job already uses OIDC (id-token: write) with --provenance, which is exactly where npm's tooling is heading.

Verified against the lockfile: only fsevents and msw have install scripts, both safe to leave blocked (msw's postinstall only matters for browser worker setup). No git or remote-URL dependencies.

Part of the org-wide npm 12 CI migration.

@achoimet
achoimet merged commit 84fff53 into main Aug 11, 2026
6 checks passed
@achoimet
achoimet deleted the chore/npm-12 branch August 11, 2026 05:56
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant