From f3d6984622d5bed109afc77ba72ccbf0657492b9 Mon Sep 17 00:00:00 2001 From: Marijn Doeve Date: Sun, 12 Jul 2026 19:41:38 +0200 Subject: [PATCH] fix: build TypeScript assets before running PHPUnit in CI The tests job ran bin/console sass:build but never typescript:build, so var/typescript/ didn't exist and any page rendering the importmap (e.g. backoffice/base.html.twig) errored during tests. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8734e8d..f437820 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,6 +176,8 @@ jobs: run: docker compose up php database --wait --no-build - name: Build SCSS run: docker compose exec -T php bin/console sass:build + - name: Build TypeScript + run: docker compose exec -T php bin/console typescript:build - name: Create test database run: docker compose exec -T php bin/console -e test doctrine:database:create - name: Run migrations