From 7b6323123b49d5d420d9763e93d23ae23ec66096 Mon Sep 17 00:00:00 2001 From: phani-srikar Date: Tue, 17 Sep 2024 11:26:37 -0700 Subject: [PATCH] chore: use full version for nvm --- shared-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared-scripts.sh b/shared-scripts.sh index ab78ba61d4..a889cc743b 100755 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -86,6 +86,7 @@ function _installNVM { curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" } function _installNode { @@ -102,7 +103,8 @@ function _installNode { function _buildLinux { _setShell _installNVM - _installNode 18 + nvm ls-remote + _installNode 18.20.4 echo "Linux Build" node --version yarn run production-build