From 5bc6107eba1d9fae2b655a5d15b4d5657f899449 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 20 Jan 2025 22:52:31 -0800 Subject: [PATCH] Upload files to ".forgejo/workflows" --- .forgejo/workflows/syntax-check.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .forgejo/workflows/syntax-check.yml 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