Skip to content

ci: stop updating npm during release#554

Merged
thiagobrez merged 1 commit into
mainfrom
agent/remove-release-npm-update
Jul 9, 2026
Merged

ci: stop updating npm during release#554
thiagobrez merged 1 commit into
mainfrom
agent/remove-release-npm-update

Conversation

@thiagobrez

@thiagobrez thiagobrez commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove the release workflow step that globally upgrades npm with npm install -g npm@latest before running Changesets publish.

Why

The failed release run for #544 reached the publish phase, but npm's provenance path failed with MODULE_NOT_FOUND Cannot find module 'sigstore' after the workflow replaced the runner-provided npm installation. The Node 24 runner already provides npm 11.16.0, which is provenance-capable, so the global npm replacement is unnecessary and appears to be the source of the broken npm dependency tree.

@thiagobrez thiagobrez marked this pull request as ready for review July 9, 2026 14:44
@thiagobrez thiagobrez merged commit 1bbcaa2 into main Jul 9, 2026
9 checks passed
@thiagobrez thiagobrez deleted the agent/remove-release-npm-update branch July 9, 2026 14:44
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.

1 participant