ci: share package builds with unit shards
This commit is contained in:
parent
4b75212c0c
commit
f5afb2e671
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -28,8 +28,17 @@ jobs:
|
|||
- name: Lint, typecheck, architecture, package, and tooling checks
|
||||
run: bun run check
|
||||
|
||||
- name: Upload package builds
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: package-builds
|
||||
path: packages/*/dist
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
needs: quality
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
|
|
@ -42,6 +51,12 @@ jobs:
|
|||
with:
|
||||
lfs: 'true'
|
||||
|
||||
- name: Download package builds
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: package-builds
|
||||
path: .
|
||||
|
||||
- name: Run quick unit test shard
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
3
.github/workflows/heavy-tests.yml
vendored
3
.github/workflows/heavy-tests.yml
vendored
|
|
@ -20,6 +20,9 @@ jobs:
|
|||
with:
|
||||
lfs: 'true'
|
||||
|
||||
- name: Build packages
|
||||
run: bun run build:packages
|
||||
|
||||
- name: Heavy fixture unit tests
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue