aboutsummaryrefslogtreecommitdiffhomepage
path: root/.husky
diff options
context:
space:
mode:
authorMiodec <[email protected]>2024-07-25 11:13:25 +0200
committerMiodec <[email protected]>2024-07-25 11:13:25 +0200
commit4034880d0821f0a0eb6f1fce73fdcbd78310627e (patch)
tree6fa8a1dee925182b31b812f858085185ff857ff8 /.husky
parentc24bf0fa801aa2335dbc6551d5810c4dab427378 (diff)
downloadmonkeytype-4034880d0821f0a0eb6f1fce73fdcbd78310627e.tar.gz
monkeytype-4034880d0821f0a0eb6f1fce73fdcbd78310627e.zip
chore: update master pre-push script
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-push6
1 files changed, 3 insertions, 3 deletions
diff --git a/.husky/pre-push b/.husky/pre-push
index 3f6c7cabe..d3e8d78db 100755
--- a/.husky/pre-push
+++ b/.husky/pre-push
@@ -8,10 +8,10 @@ export NVM_DIR="$HOME/.nvm"
if [ $(git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') = "master" ] && [ $(git remote get-url origin) = "https://github.com/monkeytypegame/monkeytype" ]; then
nvm use
- echo "Running tests before pushing to master..."
- npm run test
+ echo "Running a full check before pushing to master..."
+ npm run full-check
if [ $? -ne 0 ]; then
- echo "Tests failed, aborting push."
+ echo "Full check failed, aborting push."
exit 1
fi
fi \ No newline at end of file