ci: optimize build pipeline to eliminate redundant builds

- validate now uses test:all directly (build already done)
- Added test:ci script for explicit CI usage
- ci.yml now builds UI deps and uses build:all
- dev-release.yml separates build and validate steps
- Reduces build count from 3-4 to 1 per release cycle
This commit is contained in:
kaitranntt
2025-12-09 17:47:33 -05:00
parent 70d54b9fe1
commit 8095a4bc07
3 changed files with 11 additions and 7 deletions
+4 -2
View File
@@ -23,10 +23,12 @@ jobs:
node-version: '22'
- name: Install dependencies
run: bun install --frozen-lockfile
run: |
bun install --frozen-lockfile
cd ui && bun install --frozen-lockfile
- name: Build package
run: bun run build
run: bun run build:all
- name: Validate (typecheck + lint + tests)
run: bun run validate
+5 -4
View File
@@ -36,10 +36,11 @@ jobs:
bun install --frozen-lockfile
cd ui && bun install --frozen-lockfile
- name: Build and validate
run: |
bun run build:all
bun run validate
- name: Build
run: bun run build:all
- name: Validate (typecheck + lint + tests)
run: bun run validate
- name: Bump dev version
id: bump