سامانه صدور فاکتور و حسابداری
Run syntax and application checks in CI
davoodmehraban89 committed
Sep 28, 2026 at 13:47 UTC
e63c26432cc95875608e71624e176f67e59d2755
1 file changed
+19
.github/workflows/quality.yml
new
+19
@@ -0,0 +1,19 @@
1
+name: Quality checks
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+permissions:
7
+ contents: read
8
+jobs:
9
+ static-quality:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: '22'
16
+ - name: JavaScript syntax
17
+ run: find js -type f -name '*.js' -print0 | xargs -0 -n1 node --check
18
+ - name: Application invariants
19
+ run: node scripts/quality-check.mjs