Update GitHub Actions to versions running on Node.js 24

オープン 初心者向け
#784 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, yaml
領域
ci-cd

調査の方向性

変更が必要な箇所はすべて .github/workflows/ にあります。まずそれらのファイルで uses: を検索し、見つかった各行を issue のバージョン表と照合してください。pin はその場で更新します。release-drafter では、issue に記載のとおり環境変数 GITHUB_TOKEN を入力 token に置き換えてください。uses: の行がどれも Node 24 より前のメジャーバージョンを指さなくなり、次回の master への push で release と docs デプロイのジョブに非推奨の警告が出なければ完了です。これは PR のチェックでは確認できません。

索引モデルが issue の本文から書いたものです。

説明

maintenance

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. Newer majors
add unrelated changes, so they are left out.

Action From To
actions/checkout v4 v6
actions/setup-node v4 v6
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.

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.

主要言語
TypeScript
スター
23
フォーク
10
平均マージ
5日 12時間
マージ済み PR(30日)
9

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-ui-org/react-ui のほかの issue

react-ui-org/react-ui の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。