Skip to content

Commit 28ee285

Browse files
author
TeleGhost Dev
committed
chore: update package-lock.json to sync with package.json
1 parent e1bde70 commit 28ee285

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

.github/workflows/verify_pr.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ jobs:
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: |

0 commit comments

Comments
 (0)