Skip to content

Commit 1f63759

Browse files
committed
refactor(ci): pin check and test to 24.x node version
1 parent 40d17f5 commit 1f63759

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,16 @@ jobs:
2020
name: "Svelte Check"
2121
runs-on: ubuntu-latest
2222
strategy:
23-
matrix:
24-
node-version: [20.x, 22.x, "24.x"]
2523
steps:
2624
- uses: actions/checkout@v4
2725
- name: Install pnpm
2826
uses: pnpm/action-setup@v4
2927
with:
3028
version: latest
31-
- name: Use Node.js ${{ matrix.node-version }}
29+
- name: Use Node.js 24.x
3230
uses: actions/setup-node@v4
3331
with:
34-
node-version: ${{ matrix.node-version }}
32+
node-version: 24.x
3533
cache: "pnpm"
3634
- run: pnpm install --frozen-lockfile
3735
- run: pnpm run check
@@ -40,19 +38,16 @@ jobs:
4038
name: "Test"
4139
needs: check
4240
runs-on: ubuntu-latest
43-
strategy:
44-
matrix:
45-
node-version: [20.x, 22.x, "24.x"]
4641
steps:
4742
- uses: actions/checkout@v4
4843
- name: Install pnpm
4944
uses: pnpm/action-setup@v4
5045
with:
5146
version: latest
52-
- name: Use Node.js ${{ matrix.node-version }}
47+
- name: Use Node.js 24.x
5348
uses: actions/setup-node@v4
5449
with:
55-
node-version: ${{ matrix.node-version }}
50+
node-version: 24.x
5651
cache: "pnpm"
5752
- run: pnpm install --frozen-lockfile
5853
- run: pnpm run test

0 commit comments

Comments
 (0)