ci: build packages inside unit shards
This commit is contained in:
parent
f5afb2e671
commit
f18b0c9237
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -28,17 +28,8 @@ 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:
|
||||
|
|
@ -51,11 +42,8 @@ jobs:
|
|||
with:
|
||||
lfs: 'true'
|
||||
|
||||
- name: Download package builds
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: package-builds
|
||||
path: .
|
||||
- name: Build packages
|
||||
run: bun run build:packages
|
||||
|
||||
- name: Run quick unit test shard
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue