From c04b71b2c79bdc5b1612ef0e98f351d1193bdec9 Mon Sep 17 00:00:00 2001 From: Balaji Vijayakumar Date: Fri, 25 Nov 2022 05:31:46 +0530 Subject: Switch npm to pnpm (#714) --- .husky/pre-commit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.husky/pre-commit') diff --git a/.husky/pre-commit b/.husky/pre-commit index 4936b8e97..7595a1196 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,8 +2,9 @@ FILE_NAME="$(dirname "$0")/_/husky.sh" -# Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing node modules) +# Conditionally invoke so as to avoid running pnpm commands if this is a clean checkout (ie before installing node modules) if [ -f $FILE_NAME ]; then . $FILE_NAME - npm run prepare-code + pnpm prepare-code + pnpm test fi -- cgit v1.2.3-54-g00ecf