fix: resolve Calendar identifier conflict in DynamicPropertiesPanel
- Rename Calendar import from lucide-react to CalendarIcon2 to avoid conflict with Calendar from @/components/ui/calendar - Add tsc --noEmit and pnpm build steps to CI to catch type/bundler errors before tests run (prevents this class of bug from reaching main)
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -38,6 +38,13 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
# ── 0. Build check (catches type errors and bundler failures) ─────────
|
||||
- name: TypeScript type check
|
||||
run: pnpm exec tsc --noEmit
|
||||
|
||||
- name: Vite build check
|
||||
run: pnpm build
|
||||
|
||||
# ── 1. Tests ──────────────────────────────────────────────────────────
|
||||
- name: Run frontend tests
|
||||
run: pnpm test
|
||||
|
||||
Reference in New Issue
Block a user