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 3e71ffcc2..fc5b49be4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,13 +29,13 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node_version: [20, 22, 24] + node_version: [22, 24, 26] 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 }}' @@ -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 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