Skip to content

Add tests

Add tests #8

Workflow file for this run

name: Test
on:
pull_request: ~
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20, 21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Run tests
run: |
npm ci
npm run build
npm run lint
npm test