From 94febf160206742c4c3fd417bbae3f657677e368 Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Sat, 20 Dec 2025 21:11:28 +0100 Subject: [PATCH] ci(test): build Astrolabe app before running tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add build step for Astrolabe app in CI workflow to compile frontend assets before docker-compose starts. Changes: - Install Node.js 20 for Astrolabe build - Run composer install --no-dev for Astrolabe PHP dependencies - Run npm ci and npm run build to compile frontend assets This ensures the Astrolabe app is properly built in CI, similar to the existing OIDC app build process. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 022b109..01f4af7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,6 +48,23 @@ jobs: ###### Required to build OIDC App ###### + ###### Required to build Astrolabe App ###### + + - name: Set up Node.js for Astrolabe + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + node-version: '20' + + - name: Build Astrolabe app + run: | + cd third_party/astrolabe + composer install --no-dev --optimize-autoloader + npm ci + npm run build + + ###### Required to build Astrolabe App ###### + + - name: Run docker compose uses: hoverkraft-tech/compose-action@248470ecc5ed40d8ed3d4480d8260d77179ef579 # v2.4.2 with: