ci: share package builds with unit shards

This commit is contained in:
Danila Poyarkov 2026-06-11 22:47:10 +03:00
parent 4b75212c0c
commit f5afb2e671
2 changed files with 18 additions and 0 deletions

View file

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

View file

@ -20,6 +20,9 @@ jobs:
with:
lfs: 'true'
- name: Build packages
run: bun run build:packages
- name: Heavy fixture unit tests
shell: bash
run: |