File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 - name : Run Tests
5959 run : go test -v -short ./...
6060
61- frontend-check :
62- name : Frontend Build Check
61+ # --- frontend: Web Checks ---
62+ frontend-checks :
63+ if : false
64+ name : Frontend (Svelte)
6365 runs-on : ubuntu-latest
6466 steps :
6567 - name : Checkout code
@@ -69,15 +71,23 @@ frontend-check:
6971 uses : actions/setup-node@v4
7072 with :
7173 node-version : ' 20'
72- # Кэширование пока отключим, чтобы исключить влияние старых данных
73- # cache: 'npm'
74- # cache-dependency-path: frontend/package-lock.json
74+ cache : ' npm'
75+ cache-dependency-path : frontend/package-lock.json
7576
7677 - name : Install Dependencies
7778 run : |
7879 cd frontend
79- # Используем install вместо ci, чтобы обойти ошибку рассинхронизации
80- npm install
80+ npm ci
81+
82+ - name : Security Audit (npm audit)
83+ run : |
84+ cd frontend
85+ npm audit --audit-level=high
86+
87+ - name : Code Quality Check (svelte-check)
88+ run : |
89+ cd frontend
90+ npm run check
8191
8292 - name : Build Check
8393 run : |
You can’t perform that action at this time.
0 commit comments