Update .forgejo/workflows/build.yml
All checks were successful
Check syntax / check (push) Successful in 20s
All checks were successful
Check syntax / check (push) Successful in 20s
This commit is contained in:
parent
2ea3496c2a
commit
cf0d135d49
1 changed files with 11 additions and 9 deletions
|
@ -1,13 +1,15 @@
|
||||||
name: Check syntax
|
name: Check syntax
|
||||||
on: [push,workflow_dispatch]
|
on: [push,workflow_dispatch]
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: docker
|
runs-on: alpine
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup Alpine
|
||||||
|
uses: https://git.swee.codes/swee/setup-alpine@main
|
||||||
|
with:
|
||||||
|
additional: python3
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- name: Install JSHint
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm --global install jshint
|
run: npm --global install jshint
|
||||||
- run: python3 -m py_compile sweebot.py
|
- run: python3 -m py_compile sweebot.py
|
||||||
- run: jshint script.js
|
- run: jshint script.js
|
Loading…
Add table
Reference in a new issue