Skip to content

Commit 7fb879a

Browse files
committed
Support multiple nodejs version
1 parent 666b904 commit 7fb879a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ on:
88

99
jobs:
1010
test:
11+
strategy:
12+
matrix:
13+
node-version:
14+
- '16'
15+
- '22'
1116
runs-on: ubuntu-latest
1217
steps:
1318
- name: Checkout
1419
uses: actions/checkout@v4
1520
- uses: actions/setup-node@v4
1621
with:
17-
node-version: '20'
22+
node-version: ${{ matrix.node-version }}
1823
- name: install dependencies
1924
run: yarn install --frozen-lockfile
2025
- name: lint markdown

0 commit comments

Comments
 (0)