Skip to content

Commit d92d63a

Browse files
authored
build: add install dependencies step in Lefthook config (#796)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
1 parent 36ce220 commit d92d63a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lefthook.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
pre-commit:
22
piped: true
33
jobs:
4+
- name: install dependencies
5+
run: pnpm install
6+
glob:
7+
- package.json
8+
- pnpm-lock.yaml
9+
410
- name: fix formatting
511
run: pnpm prettier --write --ignore-unknown {staged_files}
612

0 commit comments

Comments
 (0)