Skip to content

Commit b6aaad7

Browse files
committed
Use version matrix for node in ci
1 parent 0bce9c2 commit b6aaad7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
run-tests:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [22]
1013

1114
steps:
1215
- name: Checkout code
@@ -18,7 +21,7 @@ jobs:
1821
- name: Set up Node.js
1922
uses: actions/setup-node@v3
2023
with:
21-
node-version: 20, 22, 24
24+
node-version: ${{ matrix.node-version }}
2225
- name: Install dependencies
2326
run: npm install
2427
- name: Run tests

0 commit comments

Comments
 (0)