Skip to content

Commit e5df0bb

Browse files
committed
ci: get rid of tests for dead node versions
1 parent 375406d commit e5df0bb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
node-version: [20.x, 22.x]
9+
node-version: [20.x, 22.x, 24.x]
1010
platform:
1111
- os: ubuntu-latest
1212
shell: bash
@@ -25,11 +25,9 @@ jobs:
2525

2626
steps:
2727
- name: Checkout Repository
28-
if: ${{ (matrix.node-version == '18.x') || (matrix.node-version == '19.x') || (matrix.platform.os != 'windows-latest') }}
2928
uses: actions/checkout@v4
3029

3130
- name: Use Nodejs ${{ matrix.node-version }}
32-
if: ${{ (matrix.node-version == '18.x') || (matrix.node-version == '19.x') || (matrix.platform.os != 'windows-latest') }}
3331
uses: actions/setup-node@v4
3432
with:
3533
node-version: ${{ matrix.node-version }}
@@ -38,9 +36,7 @@ jobs:
3836
run: echo NODEVERSION=[${{ matrix.node-version }}] OS=[${{ matrix.platform.os }}]
3937

4038
- name: Install dependencies
41-
if: ${{ (matrix.node-version == '18.x') || (matrix.node-version == '19.x') || (matrix.platform.os != 'windows-latest') }}
4239
run: npm install
4340

4441
- name: Run Tests
45-
if: ${{ (matrix.node-version == '18.x') || (matrix.node-version == '19.x') || (matrix.platform.os != 'windows-latest') }}
4642
run: npm test -- -c -t0

0 commit comments

Comments
 (0)