This commit is contained in:
14
.husky/post-checkout
Executable file
14
.husky/post-checkout
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# Load nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
if [ ! -s "$NVM_DIR/nvm.sh" ]; then
|
||||
# nvm not available, quietly exit
|
||||
exit 0
|
||||
fi
|
||||
. "$NVM_DIR/nvm.sh"
|
||||
|
||||
|
||||
nvm install
|
||||
pnpm i
|
||||
Reference in New Issue
Block a user