Skip to content

Commit 0b5fe49

Browse files
update test action
1 parent 9b1b4c9 commit 0b5fe49

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@ on: [push]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
8-
97
strategy:
108
matrix:
11-
node-version: [18, 20, 22, 'lts/*']
9+
os: [ubuntu-latest, windows-latest, macos-latest]
10+
node-version: [20, 22, 'lts/*']
11+
fail-fast: false
12+
13+
runs-on: ${{ matrix.os }}
1214

1315
steps:
14-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1517
- name: Set up Node.js
16-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v4
1719
with:
1820
node-version: ${{ matrix.node-version }}
1921
- run: npm ci
20-
- run: npm run test
22+
- run: npm run build
23+
- run: npm test

0 commit comments

Comments
 (0)