mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-28 16:44:21 +00:00
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 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>
21 lines
393 B
YAML
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}
|