mirror of
https://github.com/threeal/cmake-action.git
synced 2025-09-14 11:37:22 +00:00
test: remove job globs in lefthook.yaml
config
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
b8809b9ead
commit
c3018d07e2
@ -3,18 +3,9 @@ pre-commit:
|
|||||||
jobs:
|
jobs:
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
glob:
|
|
||||||
- package.json
|
|
||||||
- pnpm-lock.yaml
|
|
||||||
- pnpm-workspace.yaml
|
|
||||||
|
|
||||||
- name: check types
|
- name: check types
|
||||||
run: pnpm tsc
|
run: pnpm tsc
|
||||||
glob:
|
|
||||||
- "*.ts"
|
|
||||||
- .npmrc
|
|
||||||
- pnpm-lock.yaml
|
|
||||||
- tsconfig.json
|
|
||||||
|
|
||||||
- name: fix formatting
|
- name: fix formatting
|
||||||
run: pnpm prettier --write --ignore-unknown {staged_files}
|
run: pnpm prettier --write --ignore-unknown {staged_files}
|
||||||
@ -24,14 +15,6 @@ pre-commit:
|
|||||||
|
|
||||||
- name: build action
|
- name: build action
|
||||||
run: pnpm rollup -c
|
run: pnpm rollup -c
|
||||||
glob:
|
|
||||||
- dist/*
|
|
||||||
- src/*.ts
|
|
||||||
- .npmrc
|
|
||||||
- pnpm-lock.yaml
|
|
||||||
- tsconfig.json
|
|
||||||
exclude:
|
|
||||||
- src/*.test.ts
|
|
||||||
|
|
||||||
- name: check diff
|
- name: check diff
|
||||||
run: git diff --exit-code dist {staged_files}
|
run: git diff --exit-code dist {staged_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user