Add CI check

Daniel Tanaka 1 year ago
parent 46d44ba84c commit 148eca131a964e0844a0d1c223a39844d7893eb2
1 changed files with 15 additions and 0 deletions
+15-0.gitea/workflows/check.yml ADDED
@@ -0,0 +1,15 @@
1+name: check
2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+
7+jobs:
8+ check:
9+ runs-on: ubuntu-latest
10+ steps:
11+ - uses: actions/checkout@v4
12+ - uses: actions/setup-node@v4
13+ with:
14+ node-version: 22
15+ - run: for f in $(git ls-files '*.js'); do node --check "$f"; done