mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-02-04 14:39:02 +08:00
chore: use pnpm on pre-push
This commit is contained in:
parent
2ee582a597
commit
dd970cced7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue