Skip to content

Commit 4034880

Browse files
committed
chore: update master pre-push script
1 parent c24bf0f commit 4034880

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.husky/pre-push

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ export NVM_DIR="$HOME/.nvm"
88

99
if [ $(git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') = "master" ] && [ $(git remote get-url origin) = "https://github.com/monkeytypegame/monkeytype" ]; then
1010
nvm use
11-
echo "Running tests before pushing to master..."
12-
npm run test
11+
echo "Running a full check before pushing to master..."
12+
npm run full-check
1313
if [ $? -ne 0 ]; then
14-
echo "Tests failed, aborting push."
14+
echo "Full check failed, aborting push."
1515
exit 1
1616
fi
1717
fi

0 commit comments

Comments
 (0)