mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:34:03 +00:00
- 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
22 lines
361 B
YAML
22 lines
361 B
YAML
# lefthook.yml
|
|
|
|
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
format:
|
|
glob: '*.{ts,tsx,js,jsx,json,md}'
|
|
run: bun run format:check
|
|
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
|