diff --git a/.forgejo/workflows/syntax-check.yml b/.forgejo/workflows/syntax-check.yml new file mode 100644 index 0000000..5f9078b --- /dev/null +++ b/.forgejo/workflows/syntax-check.yml @@ -0,0 +1,12 @@ +name: Check syntax +on: [push,workflow_dispatch] +jobs: + check: + runs-on: alpine + steps: + - name: Setup Alpine + uses: https://git.swee.codes/swee/setup-alpine@main + - uses: actions/checkout@v4 + - name: Install JSHint + run: npm --global install jshint + - run: jshint \ No newline at end of file