Skip to content

Commit e9ea142

Browse files
committed
lefthook: run build if branch is main
1 parent 0dbd0d3 commit e9ea142

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lefthook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ pre-commit:
1010
glob: "*.prisma"
1111
root: server
1212
stage_fixed: true
13+
- name: Build check
14+
run: if [ $(git branch --show-current) == "main" ]; then bun run build; fi

0 commit comments

Comments
 (0)