diff --git a/.husky/pre-push b/.husky/pre-push index 827061b7d5c..f86c2212443 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -7,6 +7,10 @@ unstagedCount=`echo "$unstagedFiles" | wc -l | sed 's/ //g'` echo "Current modified files ($unstagedCount):" echo "$unstagedFiles" +# Compile the project +echo "๐Ÿ”จ compiling..." +yarn tsc:noemit + # Run lintier echo "๐Ÿงน runnning linter..." yarn lint-autofix @@ -32,13 +36,5 @@ if [ -n "$(git status --porcelain)" ]; then fi fi -# Compile the project -echo "๐Ÿ”จ compiling..." -yarn tsc:noemit - -# Run tests -echo "๐Ÿงช testing..." -yarn test:dev - echo "๐Ÿš€ pushing..." echo "โœจ Done." \ No newline at end of file