Skip to content

Commit fa92a23

Browse files
committed
Drop Node 20 from CI, run all jobs on Node 22.13.x
Now that the project pins Node 22, the typecheck/build/test matrices no longer need to cover the Node 20 floor. Collapses 7 jobs to 4.
1 parent c9b6d86 commit fa92a23

1 file changed

Lines changed: 6 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -50,59 +50,44 @@ jobs:
5050
- uses: actions/checkout@v6
5151
- uses: ./.github/actions/setup
5252
with:
53-
# ESLint v10 requires ^20.19.0 || ^22.13.0 || >=24, so pick a Node
54-
# that satisfies it (the typecheck/build/test matrix stays on the
55-
# project's engines floor 20.19/22.12 to test the actual runtime).
5653
node-version: '22.13.x'
5754
- run: npm run lint
5855
- run: npm run format:check
5956

6057
typecheck:
61-
name: Typecheck (Node ${{ matrix.node-version }})
58+
name: Typecheck
6259
runs-on: ubuntu-latest
6360
timeout-minutes: 10
6461
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
65-
strategy:
66-
fail-fast: false
67-
matrix:
68-
node-version: ['20.19.x', '22.12.x']
6962
steps:
7063
- uses: actions/checkout@v6
7164
- uses: ./.github/actions/setup
7265
with:
73-
node-version: ${{ matrix.node-version }}
66+
node-version: '22.13.x'
7467
- run: npm run typecheck
7568

7669
build:
77-
name: Build (Node ${{ matrix.node-version }})
70+
name: Build
7871
runs-on: ubuntu-latest
7972
timeout-minutes: 10
8073
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
81-
strategy:
82-
fail-fast: false
83-
matrix:
84-
node-version: ['20.19.x', '22.12.x']
8574
steps:
8675
- uses: actions/checkout@v6
8776
- uses: ./.github/actions/setup
8877
with:
89-
node-version: ${{ matrix.node-version }}
78+
node-version: '22.13.x'
9079
- run: npm run build
9180

9281
test:
93-
name: Test (Node ${{ matrix.node-version }})
82+
name: Test
9483
runs-on: ubuntu-latest
9584
timeout-minutes: 15
9685
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
97-
strategy:
98-
fail-fast: false
99-
matrix:
100-
node-version: ['20.19.x', '22.12.x']
10186
steps:
10287
- uses: actions/checkout@v6
10388
- uses: ./.github/actions/setup
10489
with:
105-
node-version: ${{ matrix.node-version }}
90+
node-version: '22.13.x'
10691
- run: npm run test:preflight
10792
- run: npm run test:judge
10893
- run: npm run test:runner

0 commit comments

Comments
 (0)