Commit b11cb2d
committed
feat: add conditional test running to pre-push hook
- Load .env.local environment variables if file exists
- Run tests via 'pnpm run test' when RUN_TESTS_ON_PUSH=true
- Users can control test execution by setting RUN_TESTS_ON_PUSH in .env.local1 parent e86acef commit b11cb2d
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
0 commit comments