From ad0bc62b21ba775c096fd959a9435dc998ddede6 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 2 Sep 2026 22:46:57 +0200 Subject: [PATCH] =?UTF-8?q?ci(frontend):=20Build-Job=20als=20Gate=20im=20S?= =?UTF-8?q?ecurity-Workflow=20erg=C3=A4nzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_015Ahyx6D3r7G1EuAc42nezn --- .gitea/workflows/security.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index ff2c9a1..aeed7ef 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -54,3 +54,26 @@ jobs: cd frontend npm audit --audit-level=high || 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