From 38303771f70050cf6131bcd8ac4f7d88840aeacd Mon Sep 17 00:00:00 2001 From: dal Date: Tue, 19 Aug 2025 14:48:35 -0600 Subject: [PATCH] test new ci with waiting for build --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31cd1907c..7f1aad53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,11 +102,12 @@ jobs: - name: Lint all packages (excluding web) run: pnpm lint --filter='!@buster-app/web' - # Test job - runs in parallel + # Test job - runs after build completes test: name: Test runs-on: blacksmith-4vcpu-ubuntu-2404 timeout-minutes: 15 + needs: build steps: - name: Checkout code uses: actions/checkout@v4 @@ -143,6 +144,11 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline + - name: Build required packages + run: pnpm build --filter='!@buster-app/web' + env: + NODE_ENV: production + - name: Run all unit tests (excluding web) run: pnpm test:unit --filter='!@buster-app/web'