build: test nvm

This commit is contained in:
Burt 2024-11-10 22:32:20 +08:00
parent 4a05e391af
commit 06bcf616c6
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Use the correct Node.js version
nvm use v20.15.1
# nvm use v20.15.1
# Run the commit-msg hook
npx --no-install commitlint --edit

View File

@ -6,7 +6,7 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Use the correct Node.js version
nvm use v20.15.1
# nvm use v20.15.1
# Run the pre-commit hook
npx --no-install -- lint-staged