1
0
Fork 0
mirror of https://github.com/EDeev/web-tech.git synced 2026-10-07 20:49:39 +03:00

CI: проверка синтаксиса всех скриптов

This commit is contained in:
Деев Егор Викторович 2026-10-02 21:39:31 +00:00
parent 3d9bb53a15
commit a0102da0ea

17
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Синтаксис всех скриптов
run: find labs tasks -name "*.js" -print0 | xargs -0 -n1 node --check