v2: Add left-hook pre-push (#1003)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
Konstantin Konstantinov 2026-03-25 22:30:47 +02:00 • committed by GitHub
commit 40174d2dff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,23 @@
# Optional local lefthook configuration
# To enable this:
# cp lefthook-local.example.yml lefthook-local.yml
pre-commit:
parallel: true
jobs:
- name: 'Typecheck'
run: pnpm typecheck:all
- name: 'Lint Fix & Format'
run: pnpm lint:fix:all
stage_fixed: true
post-checkout:
jobs:
- name: 'Install Dependencies'
run: pnpm install
post-merge:
jobs:
- name: 'Install Dependencies'
run: pnpm install