Skip to content

ci: Upgrade GitHub Actions to Node.js 24-compatible versions#244

Merged
mroman-recurly merged 2 commits into
mainfrom
jparrabedoya/SWI-5336
Jun 4, 2026
Merged

ci: Upgrade GitHub Actions to Node.js 24-compatible versions#244
mroman-recurly merged 2 commits into
mainfrom
jparrabedoya/SWI-5336

Conversation

@jparrabedoya

Copy link
Copy Markdown
Contributor

Description

Problem

GitHub Actions is deprecating Node.js 20 as a runtime for JavaScript actions. Actions using Node.js 16 or Node.js 20 will be forced to run under Node.js 24 starting June 2026, with full removal of Node.js 20 in September 2026. Running outdated action versions after that date risks broken CI.

Fix

Upgraded all affected GitHub Actions in this repository to their latest Node.js 24-compatible versions, verified by inspecting each action's action.yml at the target tag.

Action Before After Node runtime
actions/checkout v3 / v4 v6.0.3 node24
actions/setup-node v3 v6.4.0 node24
crazy-max/ghaction-github-pages v4 v5.0.0 node24

Actions left unchanged (not affected):

  • stefanoeb/eslint-action@1.0.2 — Docker action, unaffected by Node.js deprecation
  • coverallsapp/github-action@v2 — composite action using pure shell scripts, no JS runtime dependency

The FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment variable has been added to all modified workflow files for CI validation. It will be removed in a follow-up commit before merge.

Files Changed

  • .github/workflows/ci.yml — upgraded actions/checkout v3 → v6.0.3; added FORCE flag
  • .github/workflows/docs.yml — upgraded actions/checkout v4 → v6.0.3, actions/setup-node v3 → v6.4.0, crazy-max/ghaction-github-pages v4 → v5.0.0; added FORCE flag
  • .github/workflows/eslint.yml — upgraded actions/checkout v3 → v6.0.3

Testing

CI runs with FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to verify all actions execute correctly under Node.js 24.

- actions/checkout: v3/v4 (node16/node20) → v6.0.3 (node24)
- actions/setup-node: v3 (node16) → v6.4.0 (node24)
- crazy-max/ghaction-github-pages: v4 (node20) → v5.0.0 (node24)
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true for CI validation

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@jparrabedoya jparrabedoya self-assigned this Jun 3, 2026
@coveralls

coveralls commented Jun 3, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 26912798711

Coverage remained the same at 97.987%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 229
Covered Lines: 228
Line Coverage: 99.56%
Relevant Branches: 69
Covered Branches: 64
Branch Coverage: 92.75%
Branches in Coverage %: Yes
Coverage Strength: 25.72 hits per line

💛 - Coveralls

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@mroman-recurly mroman-recurly merged commit 0af1f54 into main Jun 4, 2026
5 checks passed
@mroman-recurly mroman-recurly deleted the jparrabedoya/SWI-5336 branch June 4, 2026 11:55
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.

3 participants