MeowNex/.forgejo/workflows/build.yml

13 lines
397 B
YAML
Raw Normal View History

2024-12-18 16:25:17 -08:00
name: Check syntax
2024-12-19 20:40:24 -08:00
on: [push,workflow_dispatch]
2024-12-18 16:25:17 -08:00
jobs:
check:
2025-01-18 17:53:26 -08:00
runs-on: docker
2024-12-18 16:25:17 -08:00
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
2025-01-18 17:53:26 -08:00
- uses: actions/setup-node@v4
2025-01-18 17:58:24 -08:00
- name: Install dependencies
2025-01-18 17:59:50 -08:00
run: apt update && apt upgrade python3 npm -y && npm --global install jshint
2025-01-18 17:57:09 -08:00
- run: python3 -m py_compile sweebot.py
2024-12-18 16:29:57 -08:00
- run: jshint script.js