Skip to content

Commit

Permalink
chore: use full version for nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
phani-srikar committed Sep 17, 2024
1 parent 72c42ae commit c869a10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit c869a10

Please sign in to comment.