Skip to content

ci: pin npm@11.18.0 to fix sigstore error on publish#70

Merged
ricardoraposo merged 1 commit into
mainfrom
ricardo-/-ci-pin-npm11-sigstore-fix
Jul 9, 2026
Merged

ci: pin npm@11.18.0 to fix sigstore error on publish#70
ricardoraposo merged 1 commit into
mainfrom
ricardo-/-ci-pin-npm11-sigstore-fix

Conversation

@ricardoraposo

Copy link
Copy Markdown
Collaborator

Summary

Fixes the publish job that still fails after #69 (CI run 29033211302).

With Node 22 in place, npm install -g npm@latest now resolves to npm@12, whose bundled publish path throws Cannot find module 'sigstore' when publishing with --provenance:

npm error code MODULE_NOT_FOUND
npm error Cannot find module 'sigstore'
npm error - .../npm/node_modules/libnpmpublish/lib/provenance.js

This is a packaging bug in npm 12's bundled deps. Trusted publishing (OIDC) only needs npm >=11.5.1, so @latest overshoots into a broken major.

Change

Pin the publish step to npm@11.18.0 (latest 11.x) instead of @latest. It supports OIDC trusted publishing and the --provenance flow without the npm 12 sigstore regression.

Impact

Once merged, the idempotent publish job will finally push the versions stuck since #68:

  • @arvoretech/hub-core 0.26.2
  • @arvoretech/hub (cli) 0.25.2
  • @arvoretech/hub-pi 1.5.3

Notes

  • Prior team incident with the same sigstore error (arvore-pi-extensions) confirms npm 12 is the culprit; the original intent was npm 11.5.1+.
  • Pinning (vs @latest) also prevents future @latest majors from silently breaking publish again.

npm@latest now resolves to npm@12, whose bundled publish path fails with
'Cannot find module sigstore' when using --provenance. Pin to npm@11.18.0,
which supports OIDC trusted publishing (>=11.5.1) without the npm 12 bug.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rhm-website Ready Ready Preview, Comment Jul 9, 2026 4:28pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ricardoraposo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 7 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3c62b863-ed96-40ed-b12f-e74e0b188ee6

📥 Commits

Reviewing files that changed from the base of the PR and between ae873df and ad5451a.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ricardo-/-ci-pin-npm11-sigstore-fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ricardoraposo
ricardoraposo merged commit eb1cfb1 into main Jul 9, 2026
6 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