We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24bf0f commit 4034880Copy full SHA for 4034880
.husky/pre-push
@@ -8,10 +8,10 @@ export NVM_DIR="$HOME/.nvm"
8
9
if [ $(git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') = "master" ] && [ $(git remote get-url origin) = "https://github.com/monkeytypegame/monkeytype" ]; then
10
nvm use
11
- echo "Running tests before pushing to master..."
12
- npm run test
+ echo "Running a full check before pushing to master..."
+ npm run full-check
13
if [ $? -ne 0 ]; then
14
- echo "Tests failed, aborting push."
+ echo "Full check failed, aborting push."
15
exit 1
16
fi
17
0 commit comments