cmake-action/lefthook.yaml
Alfi Maulana e0106bec9f
test: modify Lefthook jobs to process all files
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-07-26 21:08:49 +07:00

21 lines
378 B
YAML

pre-commit:
piped: true
jobs:
- name: install dependencies
run: pnpm install
- name: check types
run: pnpm tsc
- name: fix formatting
run: pnpm prettier --write .
- name: fix lint
run: pnpm eslint --fix
- name: build action
run: pnpm rollup -c
- name: check diff
run: git diff --exit-code dist {staged_files}