Skip to content

Commit 02db04a

Browse files
committed
add unit test
1 parent 648d848 commit 02db04a

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [macos-latest, ubuntu-latest]
13+
node: [20, 22, 24, 25]
14+
name: Node ${{ matrix.node }} / ${{ matrix.os }}
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node }}
21+
- run: npm install
22+
- run: npm test

0 commit comments

Comments
 (0)