CI: check syntax of all JavaScript files, not just chat.js
1 file changed,
+1
−1
.github/workflows/test.yml+1 −1
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml| index c759704..53e9d73 100644 |
| --- a/.github/workflows/test.yml |
| +++ b/.github/workflows/test.yml |
| @@ -34,4 +34,4 @@ jobs: |
| run: npm test |
| - name: Check JavaScript syntax |
| - run: node --check web/static/chat.js |
| + run: find web/static home/web/static -name '*.js' -type f | xargs -I {} node --check {} |