ci(frontend): Build-Job als Gate im Security-Workflow ergänzen
Security Audit / Python Dependency Audit (push) Canceled after 0s
Security Audit / Node.js Dependency Audit (push) Canceled after 0s
Security Audit / Frontend Build (tsc + vite) (push) Canceled after 0s

npm ci + npm run build (tsc -b + vite build) laufen jetzt bei jedem
Push/PR und blockieren bei TS-/Build-Fehlern statt unbemerkt zu brechen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Ahyx6D3r7G1EuAc42nezn
This commit is contained in:
2026-09-02 22:46:57 +02:00
co-authored by Claude Sonnet 5
parent c733ddfe40
commit ad0bc62b21
+23
View File
@@ -54,3 +54,26 @@ jobs:
cd frontend cd frontend
npm audit --audit-level=high || true npm audit --audit-level=high || true
continue-on-error: true continue-on-error: true
frontend-build:
name: Frontend Build (tsc + vite)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Build (blockiert bei TS-/Build-Fehlern)
run: |
cd frontend
npm run build