Skip to content

fix(ci): drop upgrade step — Node 22 already supports OIDC provenance#12

Merged
bntvllnt merged 1 commit intomainfrom
fix/ci-drop-npm-upgrade
Apr 26, 2026
Merged

fix(ci): drop upgrade step — Node 22 already supports OIDC provenance#12
bntvllnt merged 1 commit intomainfrom
fix/ci-drop-npm-upgrade

Conversation

@bntvllnt
Copy link
Copy Markdown
Contributor

Problem

The Upgrade npm for OIDC support step (install -g latest) crashes on Node 22.22.2 runners:

error code MODULE_NOT_FOUND
Cannot find module 'promise-retry'

This was blocking every canary and release publish.

Fix

Drop the step entirely. Node 22 bundles a version that already supports OIDC provenance — the upgrade was only needed when older Node bundles were in use.

Applies to both canary and release jobs.

The install-g-latest step fails on the current runner (Node 22.22.2)
with MODULE_NOT_FOUND: promise-retry. The upgrade was originally added
to get OIDC provenance support, but Node 22 bundles a version that
already supports it — the step is now both unnecessary and broken.
@bntvllnt bntvllnt self-assigned this Apr 26, 2026
@bntvllnt bntvllnt merged commit e8e92c6 into main Apr 26, 2026
2 checks passed
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