chore: add SKIP_HOOKS in pre-push

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-20 09:21:54 +02:00
parent 87d4ec2f33
commit 90c1a813af

View File

@@ -29,7 +29,7 @@
"update-simple-git-hooks": "npx simple-git-hooks"
},
"simple-git-hooks": {
"pre-push": "pnpm typecheck && pnpm test"
"pre-push": "[ -n \"$SKIP_HOOKS\" ] || (pnpm typecheck && pnpm test)"
},
"dependencies": {
"@hyperdx/node-opentelemetry": "^0.8.1",