Add .forgejo/actions/syntax-check.yml
This commit is contained in:
parent
a257e8240e
commit
27d1d6fa8f
1 changed files with 9 additions and 0 deletions
9
.forgejo/actions/syntax-check.yml
Normal file
9
.forgejo/actions/syntax-check.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue