1 parent
69933f37e5
commit
ea1a0c85a9
4 files changed
+134
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user