Skip to content

Commit

Permalink
GitHub Action to run tests on current versions of Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jan 13, 2025
1 parent ef5a989 commit 11e95e6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: ci
on:
push:
# branches: [main]
pull_request:
branches: [main]
jobs:
ci:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x, 23.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run-script rebuild-tests
- run: npm test
- run: make test

0 comments on commit 11e95e6

Please sign in to comment.