Skip to content

Commit a8d21d6

Browse files
committed
chore: add husky pre-commit hook for test
1 parent d28bbe5 commit a8d21d6

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm run test

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
"deploy:web": "pnpm --filter web deploy",
1313
"test": "turbo test:run",
1414
"test:api": "pnpm --filter api test:run",
15-
"test:web": "pnpm --filter web test:run"
15+
"test:web": "pnpm --filter web test:run",
16+
"prepare": "husky"
1617
},
1718
"devDependencies": {
19+
"husky": "^9.1.7",
1820
"turbo": "^2.3.3",
1921
"wrangler": "^4.47.0"
2022
}

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)