diff --git a/.github/workflows/json-check.yml b/.github/workflows/json-check.yml
@@ -0,0 +1,20 @@
+name: JSON check
+
+on:
+ push:
+ paths:
+ - '**.json'
+ pull_request:
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: json-syntax-check
+ uses: limitusus/json-syntax-check@v2
+ with:
+ pattern: "\\.json$"
+ - name: JSON checks failed
+ if: failure()
+ run: echo "Some JSON files have failed the comprehensive syntax check. Please check the logs for details."
diff --git a/dashboard/tsconfig.json b/dashboard/tsconfig.json
@@ -26,7 +26,7 @@
"paths": {
"@marzneshin/*": [
"./src/*"
- ],
+ ]
}
},
"include": [