Skip to content

Pin the release npm self-update to major 11 - #6004

Merged
dankochetov merged 1 commit into
mainfrom
pin-npm-11-main
Jul 10, 2026
Merged

dankochetov merged 1 commit into
mainfrom
pin-npm-11-main

Conversation

@dankochetov

Copy link
Copy Markdown
Member

Same fix as #6003, applied to main's copies (release-feature-branch.yaml and release-latest.yaml — the latter is the npm-latest publish flow and would fail identically on the next main dispatch).

npm 12.0.0 was just published as latest with a broken tarball: sigstore is missing from the flattened node_modules tree, so libnpmpublish/lib/provenance.js fails at require time and every npm publish errors with Cannot find module 'sigstore' (seen in https://github.com/drizzle-team/drizzle-orm/actions/runs/29099638299). Pinning the Update NPM step to npm@11 (currently 11.18.0) keeps the >= 11.5.1 trusted-publishing requirement while avoiding the broken major.

…s missing `sigstore` and breaks `npm publish`
@dankochetov
dankochetov merged commit 9d64532 into main Jul 10, 2026
7 of 32 checks passed
@dankochetov
dankochetov deleted the pin-npm-11-main branch July 10, 2026 14:39
@millette

Copy link
Copy Markdown

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