Update .forgejo/workflows/build.yml
All checks were successful
Check syntax / check (push) Successful in 20s

This commit is contained in:
Nova Cat 2025-01-20 22:48:39 -08:00
parent 2ea3496c2a
commit cf0d135d49

View file

@ -1,13 +1,15 @@
name: Check syntax
on: [push,workflow_dispatch]
jobs:
check:
runs-on: docker
steps:
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
with:
additional: python3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/setup-node@v4
- name: Install dependencies
- name: Install JSHint
run: npm --global install jshint
- run: python3 -m py_compile sweebot.py
- run: jshint script.js