From f08ee5c5558ed5b2889a823e46621036c58f4987 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 18 Dec 2024 15:12:16 -0800 Subject: [PATCH] Update .forgejo/workflows/syntax-check.yml --- .forgejo/workflows/{acorn.yml => syntax-check.yml} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename .forgejo/workflows/{acorn.yml => syntax-check.yml} (50%) diff --git a/.forgejo/workflows/acorn.yml b/.forgejo/workflows/syntax-check.yml similarity index 50% rename from .forgejo/workflows/acorn.yml rename to .forgejo/workflows/syntax-check.yml index 573fd1e..1438fd3 100644 --- a/.forgejo/workflows/acorn.yml +++ b/.forgejo/workflows/syntax-check.yml @@ -1,8 +1,9 @@ -name: Check syntax with acorn +name: Check syntax on: [push] jobs: acorn: runs-on: debian-latest steps: - uses: actions/checkout@v4 - - run: acorn --silent script.user.js \ No newline at end of file + - run: acorn --silent script.user.js + - run: jshint script.user.js \ No newline at end of file