build: test nvm
This commit is contained in:
parent
4a05e391af
commit
06bcf616c6
@ -6,7 +6,7 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
||||||
# Use the correct Node.js version
|
# Use the correct Node.js version
|
||||||
nvm use v20.15.1
|
# nvm use v20.15.1
|
||||||
|
|
||||||
# Run the commit-msg hook
|
# Run the commit-msg hook
|
||||||
npx --no-install commitlint --edit
|
npx --no-install commitlint --edit
|
||||||
|
@ -6,7 +6,7 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
||||||
# Use the correct Node.js version
|
# Use the correct Node.js version
|
||||||
nvm use v20.15.1
|
# nvm use v20.15.1
|
||||||
|
|
||||||
# Run the pre-commit hook
|
# Run the pre-commit hook
|
||||||
npx --no-install -- lint-staged
|
npx --no-install -- lint-staged
|
||||||
|
Loading…
x
Reference in New Issue
Block a user