Skip to content

ci(release): install npm 11.21.3 before publishing - #649

Merged
chrispader merged 1 commit into
mainfrom
ci/release-npm-11.21
Dec 4, 2026
Merged

chrispader merged 1 commit into
mainfrom
ci/release-npm-11.21

Conversation

@chrispader

@chrispader chrispader commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

The release script moves the alpha tag of packages without a stable release through trusted publishing, which needs npm 11.21.0 or newer. The release runner resolves Node 24 to 24.22.3, which bundles npm 11.19.1, so the script stops before the first upload. The publish job now installs npm 11.21.3 first.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the package release workflow to support publishing releases with the required package tags. This is an internal release-process change and does not alter app features or behavior.

The release script moves channel tags with trusted publishing, which needs
npm 11.21.0 or newer. The runner's Node 24.22.3 bundles npm 11.19.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Dec 4, 2026 6:28pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The release workflow now installs npm 11.21.3 globally in the publish job before package publication. A comment records the bundled npm version and the stated minimum required to move dist-tags with trusted publishing.

Changes: Release publishing

Layer / File(s) Summary
Install npm before publishing
.github/workflows/release.yml
The publish job installs npm 11.21.3 globally before package publication. A comment states the bundled npm version and the minimum version required to move dist-tags with trusted publishing.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to 6dee0

This change installs a newer npm in the release publish job so that moving dist-tags through trusted publishing works. No merge-blocking risk was identified.

Architecture risk: Low · up to 6dee0

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed areas: None identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the publish job now installs npm 11.21.3 before publishing. The PR objectives confirm this. The npm version is needed because the bundled npm 11.19.1 cannot move dist-…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the publish job now installs npm 11.21.3 before publishing. The PR objectives confirm this. The npm version is needed because the bundled npm 11.19.1 cannot move dist-tags through trusted publishing, which requires npm 11.21.0 or newer. The title is specific, short, and follows a conventional commit style.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8e17bb7 and 6dee093.

Files selected for processing: 1

  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@chrispader
chrispader merged commit c53f7d2 into main Dec 4, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 6dee0930 Deployed Dec 4, 2026 by vercel[bot]
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