Files
Veillax ea1a0c85a9
CI / test (push) Successful in 28s
Add CI and release workflows
2026-10-27 18:06:42 -06:00

26 lines
577 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Test
run: npm test
# The app is static files, so a broken manifest or service worker only shows up on a phone.
- name: Manifest and scripts parse
run: |
node -e "JSON.parse(require('fs').readFileSync('public/manifest.webmanifest','utf8'))"
for f in public/*.js; do node --check "$f"; done