chore: replace travis w/ github actions for CI (#20)
* chore: replace travis w/ github actions for CI * chore: replace travis w/ github actions for CI * remove node 24 * Update readme with checks badge
This commit is contained in:
parent
999b9b54a2
commit
73135dd4b5
3 changed files with 23 additions and 12 deletions
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [mainline]
|
||||
pull_request:
|
||||
branches: [mainline]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
node: [18, 20, 22]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm test
|
||||
Loading…
Add table
Add a link
Reference in a new issue