From 4f92ad3908ed98b6bd8bc4671deebe68e098865a Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 11 May 2026 11:55:28 +0900 Subject: [PATCH 1/2] chore: update CI Node versions Replace the Node 20 CI leg with Node 26 and run lint on Node 24. Co-authored-by: Codex --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e71ffcc2..137449532 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node_version: [20, 22, 24] + node_version: [22, 24, 26] include: # Active LTS + other OS - os: macos-latest @@ -96,7 +96,7 @@ jobs: if: github.repository == 'vitejs/vite-plugin-react' timeout-minutes: 10 runs-on: ubuntu-latest - name: 'Lint: node-20, ubuntu-latest' + name: 'Lint: node-24, ubuntu-latest' steps: - uses: actions/checkout@v6 with: @@ -105,10 +105,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5 - - name: Set node version to 20 + - name: Set node version to 24 uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 - name: Install deps run: pnpm install From 356f0d27b63368659936174d495e62e32573c853 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 11 May 2026 11:56:32 +0900 Subject: [PATCH 2/2] chore: use Node 24 for fixed CI jobs Keep Node 22 coverage in the main compatibility matrix, but run fixed CI setup-node jobs and cross-OS coverage on Node 24. Co-authored-by: Codex --- .github/workflows/ci-rsc.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/copilot-setup-steps.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-rsc.yml b/.github/workflows/ci-rsc.yml index 42c25c544..6ef9bd132 100644 --- a/.github/workflows/ci-rsc.yml +++ b/.github/workflows/ci-rsc.yml @@ -28,7 +28,7 @@ jobs: - uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5 - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - run: pnpm i - run: pnpm build - run: pnpm -C packages/plugin-rsc tsc @@ -63,7 +63,7 @@ jobs: - uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5 - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - run: pnpm i - name: install react if: ${{ matrix.react_version }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 137449532..fc5b49be4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,9 +33,9 @@ jobs: include: # Active LTS + other OS - os: macos-latest - node_version: 22 + node_version: 24 - os: windows-latest - node_version: 22 + node_version: 24 fail-fast: false name: 'Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 58d38326a..3585f9fc3 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -23,6 +23,6 @@ jobs: - uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5 - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - run: pnpm i - run: pnpm exec playwright install chromium