add linting

This commit is contained in:
Paul Carleton 2025-10-30 13:06:52 +00:00
commit ae9451f5e0
No known key found for this signature in database

24
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,24 @@
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm test
- run: npm run lint