Skip to content

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

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

dankochetov merged 1 commit into
rc5from
pin-npm-11

Conversation

@dankochetov

Copy link
Copy Markdown
Member

The rc5 dispatch failed in run-feature / release (drizzle-orm) with Cannot find module 'sigstore' from libnpmpublish/lib/provenance.js (https://github.com/drizzle-team/drizzle-orm/actions/runs/29099638299).

Root cause: npm 12.0.0 was just published as latest, and its tarball is missing sigstore from the flattened node_modules tree (it only exists under workspaces/libnpmpublish/node_modules/, which isn't on the require path). Since provenance.js is loaded unconditionally, every npm publish fails — --no-provenance doesn't help. Verified by inspecting the tarballs: npm-12.0.0.tgz has zero package/node_modules/sigstore/ entries, npm-11.18.0.tgz has them.

Fix: pin the Update NPM step to npm@11 (currently 11.18.0) in both feature-branch release workflows. The >= 11.5.1 trusted-publishing requirement still holds; the pin can move to 12 once upstream ships a fixed tarball.

…s missing `sigstore` and breaks `npm publish`
@dankochetov
dankochetov merged commit 797543c into rc5 Jul 10, 2026
30 checks passed
@dankochetov
dankochetov deleted the pin-npm-11 branch July 10, 2026 14:44
@millette

Copy link
Copy Markdown

akashchamp pushed a commit to akashchamp/drizzle-orm that referenced this pull request Sep 25, 2026
Pin the release npm self-update to major 11
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