Skip to content

fix(cicd): pin npm@11 in publish workflow to unbreak npm oidc publish - #75

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

fix(cicd): pin npm@11 in publish workflow to unbreak npm oidc publish#75
uladkasach merged 1 commit into
mainfrom
vlad/fix-cicd-3

Conversation

@ehm-seaturtle

Copy link
Copy Markdown
Contributor

fix(cicd): pin npm@11 in publish workflow to unbreak npm oidc publish

  • the publish job upgrades npm to get oidc support (needs >= 11.5.1) when the
    runner's npm is older, via 'npm install -g npm@latest'
  • npm@latest rolled to 12.0.1, which requires node >= 22.22.2; .nvmrc pins
    22.21.0, so the upgrade step EBADENGINE-failed before npm publish ran
  • this blocked the v1.8.0 publish (tag + gh release cut, but npm stayed 1.7.3)
  • pin to npm@11: still oidc-capable (>= 11.5.1) and compatible with node 22.21.0

.why = restore the npm publish path without a node bump; npm@latest tracking a
node-incompatible major is the root cause, so pin to the compatible major


🐢🌊 surfed in by seaturtle[bot]

- the publish job upgrades npm to get oidc support (needs >= 11.5.1) when the
  runner's npm is older, via 'npm install -g npm@latest'
- npm@latest rolled to 12.0.1, which requires node >= 22.22.2; .nvmrc pins
  22.21.0, so the upgrade step EBADENGINE-failed before npm publish ran
- this blocked the v1.8.0 publish (tag + gh release cut, but npm stayed 1.7.3)
- pin to npm@11: still oidc-capable (>= 11.5.1) and compatible with node 22.21.0

.why = restore the npm publish path without a node bump; npm@latest tracking a
       node-incompatible major is the root cause, so pin to the compatible major

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

rhelease Bot commented Jul 23, 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