Skip to content

Commit 11e95e6

Browse files
committed
GitHub Action to run tests on current versions of Node.js
1 parent ef5a989 commit 11e95e6

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
2+
3+
name: ci
4+
on:
5+
push:
6+
# branches: [main]
7+
pull_request:
8+
branches: [main]
9+
jobs:
10+
ci:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node-version: [18.x, 20.x, 22.x, 23.x]
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- run: npm install
22+
- run: npm run-script rebuild-tests
23+
- run: npm test
24+
- run: make test

0 commit comments

Comments
 (0)