cmake-action/lefthook.yaml
Alfi Maulana c3018d07e2
test: remove job globs in lefthook.yaml config
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-07-26 21:08:12 +07:00

21 lines
441 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 --ignore-unknown {staged_files}
- name: fix lint
run: pnpm eslint --no-warn-ignored --fix {staged_files}
- name: build action
run: pnpm rollup -c
- name: check diff
run: git diff --exit-code dist {staged_files}