chore(ci): improve build test CI (#250)
This commit is contained in:
+16
-11
@@ -46,14 +46,20 @@ jobs:
|
||||
run: |
|
||||
pnpm run lint
|
||||
|
||||
# - name: Lint Rust
|
||||
# run: |
|
||||
# # pnpm run lint:rust
|
||||
# cargo +nightly fmt --all --check
|
||||
# cargo clippy -- -W clippy::pedantic -W clippy::nursery -A clippy::missing-errors-doc -A clippy::module_name_repetitions
|
||||
|
||||
build-test:
|
||||
name: Build Test
|
||||
name: Build Test (${{ matrix.app_name }})
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- command: pnpm -F @proj-airi/stage-web run build && pnpm -F @proj-airi/docs run build:base && mv ./docs/dist ./apps/stage-web/dist/docs && pnpm -F @proj-airi/stage-ui run story:build && mv ./packages/stage-ui/.histoire/dist ./apps/stage-web/dist/ui
|
||||
app_name: stage-web
|
||||
- command: pnpm -F @proj-airi/stage-tamagotchi run build
|
||||
app_name: stage-tamagotchi
|
||||
- command: pnpm -F @proj-airi/ui-transitions run build && pnpm -F @proj-airi/ui-transitions run play:build
|
||||
app_name: ui-transitions
|
||||
- command: pnpm -F @proj-airi/ui-loading-screens run build && pnpm -F @proj-airi/ui-loading-screens run play:build
|
||||
app_name: ui-loading-screens
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -88,11 +94,10 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
pnpm run build:packages
|
||||
pnpm run build:apps
|
||||
|
||||
# - name: Build Rust
|
||||
# run: |
|
||||
# pnpm run build:crates
|
||||
- name: Build App
|
||||
run: |
|
||||
${{ matrix.command }}
|
||||
|
||||
typecheck:
|
||||
name: Type Check
|
||||
|
||||
Reference in New Issue
Block a user