From 27d1d6fa8f9c17b49e082e1d9a379bcb382763ae Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 18 Dec 2024 15:16:02 -0800 Subject: [PATCH] Add .forgejo/actions/syntax-check.yml --- .forgejo/actions/syntax-check.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .forgejo/actions/syntax-check.yml diff --git a/.forgejo/actions/syntax-check.yml b/.forgejo/actions/syntax-check.yml new file mode 100644 index 0000000..afb0905 --- /dev/null +++ b/.forgejo/actions/syntax-check.yml @@ -0,0 +1,9 @@ +name: Check syntax +on: [push] +jobs: + check: + runs-on: debian-latest + steps: + - uses: actions/checkout@v4 + - run: acorn script.user.js + - run: jshint script.user.js \ No newline at end of file