Skip to content

ci(release): run publish on Node 24 (bundled npm 11.16, OIDC-ready)#229

Merged
klodr merged 2 commits into
mainfrom
ci/publish-node24-drop-npm-install
Jul 8, 2026
Merged

ci(release): run publish on Node 24 (bundled npm 11.16, OIDC-ready)#229
klodr merged 2 commits into
mainfrom
ci/publish-node24-drop-npm-install

Conversation

@klodr

@klodr klodr commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Même correction que gmail-mcp#247 : Node 24 embarque npm 11.16 (≥ 11.5.1 requis pour l'OIDC), donc le step npm install -g non épinglé est retiré (alerte Scorecard Pinned-Dependencies). Build/test reste sur Node 22.

Summary by CodeRabbit

  • Chores
    • Updated the release workflow to use Node.js 24 for publishing.
    • Removed the separate global npm upgrade step, relying on the npm version bundled with Node.js 24 for trusted publishing.

Node 24 ships npm >= 11.5.1 natively, so trusted publishing works
without a global 'npm install -g npm@X' step. Drops that unpinned
install (Scorecard Pinned-Dependencies) and the version to maintain;
the build/test job stays on Node 22.

Signed-off-by: Claude Perrin <klodr@users.noreply.github.com>
@klodr

klodr commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b38fa3a0-a4c8-4c60-a5fe-1c1e25ce8471

📥 Commits

Reviewing files that changed from the base of the PR and between 10afb21 and 532d0dd.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

Walkthrough

The release workflow’s publish job now uses Node.js 24 instead of 22, updates its comments for bundled npm support, and removes the separate global npm pinning step.

Changes

Release Workflow Update

Layer / File(s) Summary
Node.js version bump and npm pin removal
.github/workflows/release.yml
Setup Node switches from Node 22 to Node 24 with updated comments, and the npm 11.18.0 pinning step is removed while the publish step stays unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • klodr/faxdrop-mcp#63: Both PRs modify the release workflow’s publish job by changing the Node.js version used for trusted publishing.

Suggested labels: Review effort 2/5

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title follows Conventional Commits and accurately summarizes the workflow update to Node 24 for publish.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/publish-node24-drop-npm-install

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

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

1 similar comment
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (95f5301) to head (532d0dd).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #229   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          531       531           
  Branches       142       142           
=========================================
  Hits           531       531           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95f5301...532d0dd. Read the comment docs.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/release.yml:
- Around line 55-61: The publish job’s Node setup still enables npm caching via
the Setup Node 24 step, which should be disabled for trusted publishing. Update
the actions/setup-node configuration in the release workflow to remove the npm
cache setting from the setup step used by the publish job, keeping the Node 24
OIDC setup intact but without package-manager caching.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 01a91824-1ad6-4fd0-999b-bd6c401b5cca

📥 Commits

Reviewing files that changed from the base of the PR and between 95f5301 and 10afb21.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

Comment thread .github/workflows/release.yml Outdated
Address CodeRabbit: keep the trusted-publishing job's setup-node
minimal (no package-manager cache).

Signed-off-by: Claude Perrin <klodr@users.noreply.github.com>
@klodr

klodr commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai resolve

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

1 similar comment
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
✅ Action performed

Comments resolved and changes approved.

@klodr klodr merged commit 2e29c81 into main Jul 8, 2026
25 checks passed
@klodr klodr deleted the ci/publish-node24-drop-npm-install branch July 8, 2026 07:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 532d0ddd76

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +61 to +62
# No npm cache here: keep the publish job's environment minimal
# for OIDC trusted publishing (per CodeRabbit review).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Explicitly disable setup-node's npm auto-cache

In this privileged publish job, removing the cache input does not actually make the setup cache-free: actions/setup-node v6 documents that npm caching is automatically enabled when package.json has a top-level packageManager set to npm, unless package-manager-cache: false is provided. Since this repo declares packageManager: npm@10.9.7, the job will still restore/save the npm cache despite the new “No npm cache here” comment; add the explicit input if the OIDC publish environment must stay minimal.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant