test: use fail_on_changes in lefthook.yaml (#875)
Some checks failed
Build / Build Action (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana
2026-02-26 13:03:24 +07:00
committed by GitHub
parent fb84dfbd16
commit e3f76ade9d

View File

@@ -1,5 +1,7 @@
pre-commit: pre-commit:
piped: true piped: true
fail_on_changes: always
fail_on_changes_diff: true
jobs: jobs:
- name: install dependencies - name: install dependencies
run: pnpm install run: pnpm install
@@ -15,6 +17,3 @@ pre-commit:
- name: build action - name: build action
run: pnpm rollup -c run: pnpm rollup -c
- name: check diff
run: git diff --exit-code dist pnpm-lock.yaml {staged_files}