Skip to content

Update GitHub Actions to versions running on Node.js 24 #784

Open

Description

@adamkudrna

Problem

Workflow runs report that Node.js 20 is deprecated, for example in
this Release Management run:

Node.js 20 is deprecated. The following actions target Node.js 20 but are
being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4,
EndBug/version-check@v2.

This concerns the runtime of the actions, not the Node.js version of the project,
which already uses 24 and 22. GitHub has
removed Node.js 20 from its runners,
so these actions already run on Node.js 24, a version they don't target. Jobs still pass.

Proposal

Update each action to the first major version that targets Node.js 24, except
setup-node, see below. Newer majors add unrelated changes, so they are left out.

Action From To
actions/checkout v4 v6
actions/setup-node v4 v7
actions/setup-python v5 v6
actions/cache v4 v5
actions/upload-artifact v4 v6
actions/download-artifact v4 v7
github/codeql-action v3 v4
EndBug/version-check v2 v3
release-drafter/release-drafter v6 v7
kentaro-m/auto-assign-action v2.0.0 v2.0.2

release-drafter v7 also replaces the GITHUB_TOKEN environment variable with
the token input. Our configuration uses none of the options removed in v7.

setup-node goes to v7, as in #791 and the other React UI repositories. v7 also
stops exporting a dummy NODE_AUTH_TOKEN, which our OIDC npm publish does not use.

Risks

The release jobs only run on master, so PR checks don't cover them:

  • The docs deployment uses git worktree and pushes to gh-pages. checkout v6
    stores credentials differently and supports worktrees since v6.0.1.
  • The release-drafter update first runs on a push to master without a version bump.
  • The docs deployment and the npm publish first run on the next version bump.

Out of scope

These have no version targeting Node.js 24, so their warnings will remain:

  • TimonVS/pr-labeler-action: the latest version targets Node.js 20 and the
    repository has had no pushes since February 2024. Should we replace it?
  • rossjrw/pr-preview-action: it pins JamesIves/github-pages-deploy-action and
    marocchino/sticky-pull-request-comment at versions targeting Node.js 20.

Moving the project to Node.js 26, which became LTS on 2026-10-28, is a separate
topic. It would raise engines and drop Node.js 22, which is a breaking change, and
it depends on the Playwright image shipping Node.js 26.

Activity

  1. added theissue type on Nov 3, 2026
  2. moved this from 💡Ideas to 🔖 To do in The Boardon Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    • Status
      🔖 To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions