ActionsSetup
Husky Pre-push & Commitlint
Enforce local checks before pushing and Conventional Commits formatting.
Husky hooks ensure code quality and commit message formatting locally.
Hooks
commit-msg:npx --no -- commitlint --edit $1pre-push: runsnpm run pre-push, which invokes the pre-push validation script from @repo/scripts package
Pre-push validation
- Change detection for workspaces based on recent diffs
- Runs:
turbo run typecheck|lint|buildfiltered to changed workspaces - Runs Prettier check across the repo
- Blocks the push on failures, prints actionable output
Commitlint
- Enforces Conventional Commits; supports scopes for apps/packages and multi-line messages
- Examples:
feat(server): add rate limiterfix(ui): correct button focus statechore: update dependencies