Skip to content

Commit 03a7a35

Browse files
author
Pavel Å vagr
committed
👷 Add matrix to test run
1 parent d0bfc0a commit 03a7a35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎.github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ name: Test
55
on: [push]
66

77
jobs:
8+
strategy:
9+
matrix:
10+
version: [ 18, 20, 22 ]
811
run-eslint-and-prettier:
912
runs-on: ubuntu-latest
1013
steps:
1114
- uses: actions/checkout@v4
1215
- uses: actions/setup-node@v4
1316
with:
14-
node-version: 20
17+
node-version: ${{ matrix.version }}
1518
registry-url: https://registry.npmjs.org/
1619
- run: npm install
1720
- run: npm run build

0 commit comments

Comments
 (0)