cmake-action/lefthook.yaml
Alfi Maulana 86320b3bea
Some checks are pending
Build / Build Action (push) Waiting to run
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action (ubuntu-24.04) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Test / Test Action With Specified Directories (push) Waiting to run
Test / Test Action Without Run Build (push) Waiting to run
Test / Test Action With Additional Options (push) Waiting to run
Test / Test Action With Custom Generator (push) Waiting to run
test: remove glob pattern for filtering Lefthook jobs (#776)
* test: remove job globs in `lefthook.yaml` config

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

* test: modify Lefthook jobs to process all files

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

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

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

---------

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-07-27 12:46:20 +07:00

21 lines
393 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 pnpm-lock.yaml {staged_files}