test: check diff of pnpm-lock.yaml in Lefthook

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2025-07-26 21:09:19 +07:00
parent e0106bec9f
commit bf3603a637
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -17,4 +17,4 @@ pre-commit:
run: pnpm rollup -c
- name: check diff
run: git diff --exit-code dist {staged_files}
run: git diff --exit-code dist pnpm-lock.yaml {staged_files}