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
|
||||
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
|
Loading…
Add table
Reference in a new issue