chore: use pnpm on pre-push

This commit is contained in:
Miodec 2025-12-09 22:57:25 +01:00
parent 2ee582a597
commit dd970cced7

View file

@ -9,7 +9,7 @@ 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 install
echo "Running a full check before pushing to master..."
npm run full-check
pnpm run full-check
if [ $? -ne 0 ]; then
echo "Full check failed, aborting push."
exit 1