mirror of https://github.com/buster-so/buster.git
test new ci with waiting for build
This commit is contained in:
parent
7a1234d141
commit
38303771f7
|
@ -102,11 +102,12 @@ jobs:
|
||||||
- name: Lint all packages (excluding web)
|
- name: Lint all packages (excluding web)
|
||||||
run: pnpm lint --filter='!@buster-app/web'
|
run: pnpm lint --filter='!@buster-app/web'
|
||||||
|
|
||||||
# Test job - runs in parallel
|
# Test job - runs after build completes
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -143,6 +144,11 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile --prefer-offline
|
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)
|
- name: Run all unit tests (excluding web)
|
||||||
run: pnpm test:unit --filter='!@buster-app/web'
|
run: pnpm test:unit --filter='!@buster-app/web'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue