test: integrate Lefthook (#727)
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

* style: ignore `dist` and `README.md` in `.prettierignore`

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

* test: integrate Lefthook

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

* build: remove `build`, `format`, and `lint` scripts

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

---------

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana
2025-06-10 13:01:57 +07:00
committed by GitHub
parent e71bbfd78e
commit bef022bb70
6 changed files with 149 additions and 6 deletions

View File

@@ -19,13 +19,16 @@ jobs:
run: pnpm install
- name: Check Formatting
run: pnpm format && git diff --exit-code HEAD
run: pnpm prettier --check .
- name: Check Lint
run: pnpm lint
run: pnpm eslint
- name: Check Types
run: pnpm tsc --noEmit
- name: Test Action
run: pnpm test
- name: Build Action
run: pnpm build && git diff --exit-code HEAD
run: pnpm rollup -c && git diff --exit-code dist