Skip to content

Commit 970631a

Browse files
authored
Merge pull request #1 from usherlabs/test/git-action
Add shebang to pre-commit hook script
2 parents cb03f56 + 31ef73f commit 970631a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/bun-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Bun CI
44

55
on:
66
push:
7-
branches: [main]
7+
branches: [master]
88
pull_request:
9-
branches: [main]
9+
branches: [master]
1010

1111
jobs:
1212
test:

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
#!/usr/bin/env sh
2+
13
bun format
24
bun test

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
bun format
4+
bun test

0 commit comments

Comments
 (0)