Skip to content

Fetched latest Node patch release in CI - #2468

Merged
acburdine merged 1 commit into
mainfrom
ci/node-check-latest
Nov 14, 2026
Merged

acburdine merged 1 commit into
mainfrom
ci/node-check-latest

Conversation

@acburdine

Copy link
Copy Markdown
Member

Ghost 6.77.0 requires Node ^22.23.5 || ^24.22.3, but actions/setup-node resolved 22.x to the 22.23.4 already in the runner tool cache. Every job that installs Ghost then failed the CLI's Node version check:

Ghost v6.77.0 is not compatible with the current Node version. Your node version is 22.23.4, but Ghost v6.77.0 requires ^22.23.5 || ^24.22.3

This is breaking CI on open dependency update PRs (#2466, #2467).

Setting check-latest: true on every setup-node step in ci.yml makes it resolve the newest matching release from nodejs.org (currently 22.23.5 / 24.22.3) rather than whatever is cached, so future Node minimum bumps in Ghost won't need a workflow change.

🤖 Generated with Claude Code

Ghost 6.77.0 requires Node ^22.23.5, but setup-node resolved 22.x to the
22.23.4 already in the runner tool cache, so every job installing Ghost
failed the CLI's Node version check. check-latest makes setup-node resolve
the newest matching release instead.
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Nine actions/setup-node steps in .github/workflows/ci.yml now set check-latest: true. The change covers the unit, local E2E, migration, matrix E2E, MySQL 8.4 E2E, update E2E, and import/export jobs. No other workflow behavior changes are shown.

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

Merge Risk: Minimal · up to 4619c

This change makes CI fetch the newest matching Node patch release, which fixes the reported Ghost Node version check failures. A rare, temporary lag in the Node version manifest could still select an older patch on a single run, and the next run recovers. It is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: CI now fetches the latest Node patch release. The raw summary confirms that every actions/setup-node step in ci.yml sets check-latest: true. The title is specific and …
Description check Passed The description states the cause: Ghost 6.77.0 needs a newer Node 22 patch than the cached 22.23.4. It gives the CI error text and the affected PRs. It explains that check-latest makes setup-node reso…
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: CI now fetches the latest Node patch release. The raw summary confirms that every actions/setup-node step in ci.yml sets check-latest: true. The title is specific and accurate, and it is short.

Full details: Description check

Explanation

The description states the cause: Ghost 6.77.0 needs a newer Node 22 patch than the cached 22.23.4. It gives the CI error text and the affected PRs. It explains that check-latest makes setup-node resolve the newest matching release. This matches the changeset, which sets check-latest on the setup-node steps in ci.yml.

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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 27a7e50d-fbc4-4bb8-b14b-477740aa7ff7
Commits

Reviewing files that changed from the base of the PR and between 64270c6 and 4619cd2.

Files selected for processing: 1

  • .github/workflows/ci.yml

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.94%. Comparing base (64270c6) to head (4619cd2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2468   +/-   ##
=======================================
  Coverage   93.94%   93.94%           
=======================================
  Files         106      106           
  Lines        4444     4444           
  Branches      794      794           
=======================================
  Hits         4175     4175           
  Misses        194      194           
  Partials       75       75           
Flag Coverage Δ
unit-tests 93.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@acburdine
acburdine merged commit 8b93689 into main Nov 14, 2026
17 checks passed
@acburdine
acburdine deleted the ci/node-check-latest branch November 14, 2026 17:51
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