Add CI and release workflows
CI / test (push) Successful in 28s

This commit is contained in:
Veillax committed 2026-10-27 18:06:42 -06:00
1 parent 69933f37e5
commit ea1a0c85a9
4 files changed
+134

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
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