Skip to content

fix(cicd): pin publish npm upgrade to npm@11, not @latest - #92

Merged
uladkasach merged 1 commit into
mainfrom
vlad/fix-cicd-3
Jul 28, 2026
Merged

fix(cicd): pin publish npm upgrade to npm@11, not @latest#92
uladkasach merged 1 commit into
mainfrom
vlad/fix-cicd-3

Conversation

@ehm-seaturtle

Copy link
Copy Markdown
Contributor

fix(cicd): pin publish npm upgrade to npm@11, not @latest

the publish workflow upgrades npm to support oidc via npm install -g npm@latest.
npm@latest drifted to npm@12, which requires node >=22.22.2, but the runner pins
node via .nvmrc (v22.21.0) -> EBADENGINE -> the upgrade fails and v0.26.0 could
not publish to npm.

pin the upgrade to npm@11: it satisfies the >=11.5.1 oidc minimum and supports
the pinned node, so a future npm major cannot drift the engine out from under
the runner again.


🐢🌊 surfed in by seaturtle[bot]

the publish workflow upgrades npm to support oidc via `npm install -g npm@latest`.
npm@latest drifted to npm@12, which requires node >=22.22.2, but the runner pins
node via .nvmrc (v22.21.0) -> EBADENGINE -> the upgrade fails and v0.26.0 could
not publish to npm.

pin the upgrade to npm@11: it satisfies the >=11.5.1 oidc minimum and supports
the pinned node, so a future npm major cannot drift the engine out from under
the runner again.

Co-authored-by: ulad kasach <uladkasach@gmail.com>
@uladkasach
uladkasach merged commit c5149aa into main Jul 28, 2026
16 checks passed
@uladkasach
uladkasach deleted the vlad/fix-cicd-3 branch July 28, 2026 12:43
@rhelease rhelease Bot mentioned this pull request Jul 28, 2026
@rhelease

rhelease Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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