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