mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 12:04:02 +00:00
fix(review): address CodeRabbit review feedback
- Guard prepare script for Docker builds without .git - Add pre-push hook for heavier quality gates (typecheck/test/build) - Pin drizzle-orm version in scripts/package.json - Add E2E_SMOKE_ALLOW_WRITE opt-in guard via e2eEnv abstraction - Create @household/config env-e2e.ts using same t3-env + zod pattern - Make e2e teardown robust with optional chaining + allSettled - Fix markdown code block language identifier (MD040) - Fix CI integration docs to reflect actual workflow
This commit is contained in:
10
lefthook.yml
10
lefthook.yml
@@ -9,3 +9,13 @@ pre-commit:
|
||||
lint:
|
||||
glob: '*.{ts,tsx,js,jsx}'
|
||||
run: bun run lint
|
||||
|
||||
pre-push:
|
||||
parallel: true
|
||||
commands:
|
||||
typecheck:
|
||||
run: bun run typecheck
|
||||
test:
|
||||
run: bun run test
|
||||
build:
|
||||
run: bun run build
|
||||
|
||||
Reference in New Issue
Block a user