ci: drop Node 20 + add environment: production to publish job (fix OIDC)#159
Conversation
Node 20 is EOL and the pinned pnpm no longer supports it (Node 20 leg fails install with ERR_PNPM_UNSUPPORTED_ENGINE). Keep 22 + 24. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 8 minutes and 25 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the 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 credits. 🚦 How do rate 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 see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
The npm trusted publisher for this package is scoped to the `production` environment, but the publish-github-packages job did not declare it, so the OIDC token lacked the environment claim and npm rejected the trusted publish with ENEEDAUTH (run 28196102507). Every other repo already sets this. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
What
Two CI fixes for this repo, bundled:
node-version: [20, 22, 24]→[22, 24]innpm-publish.yml+coveralls.yml). Node 20 is EOL and the pinnedpnpmno longer supports it (ERR_PNPM_UNSUPPORTED_ENGINE). Keep 22 + 24.environment: productionto the publish job. The npm Trusted Publisher for@humanspeak/svelte-diff-match-patchis scoped to theproductionenvironment, but thepublish-github-packagesjob did not declare it — so the OIDC token carried no matching environment claim and npm rejected the publish withENEEDAUTH(run 28196102507). Every other repo in the fleet already sets this.Note
mainalready has aBump version to v0.1.3commit from the failed run (the README ecosystem footer landed fine; only npm publish failed). The next successful publish will land as0.1.4, skipping0.1.3on npm — harmless.🤖 Generated with Claude Code