mirror of
https://github.com/EDeev/web-tech.git
synced 2026-10-07 20:49:39 +03:00
CI: проверка синтаксиса всех скриптов
This commit is contained in:
parent
3d9bb53a15
commit
a0102da0ea
1 changed files with 17 additions and 0 deletions
17
.github/workflows/ci.yml
vendored
Normal file
17
.github/workflows/ci.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue