test new ci with waiting for build

This commit is contained in:
dal 2025-08-19 14:48:35 -06:00
parent 7a1234d141
commit 38303771f7
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 7 additions and 1 deletions

View File

@ -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'