From 60108b9d89ed61d49519f93891bb6b4a4a3cbcc9 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Fri, 23 Oct 2026 02:20:55 +0200 Subject: [PATCH] Build the frontend before running tests in CI --- .gitea/workflows/tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 0aeb23f..540f4c0 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -22,6 +22,12 @@ jobs: steps: - uses: actions/checkout@v4 + # The SPA tests serve the built static/index.html + - name: Build frontend + working-directory: frontend + run: | + npm ci + npm run build - name: Run migrations run: uv run --locked manage.py migrate - name: Run Django checks