From e2d74ff880b4c5683b8b3cd7f86ebed8f4950870 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 9 May 2026 08:52:20 +0200 Subject: [PATCH] ci: add npm run build step to unit-tests job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The prerender fix only prevents regression if the build is actually run in CI. Without this gate, a future prerendered route that becomes unreachable behind auth would fail silently until someone runs the build manually. Fits after the test step in the existing unit-tests job — no new job needed since node_modules is already cached for the Playwright container. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a2d9d227..9ab8d3e5 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -40,6 +40,10 @@ jobs: run: npm test working-directory: frontend + - name: Build frontend + run: npm run build + working-directory: frontend + - name: Upload screenshots if: always() uses: actions/upload-artifact@v4