diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh index 933d0e9b689c..77fd98de8f3e 100644 --- a/.scripts/automation_generate.sh +++ b/.scripts/automation_generate.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash -. ~/.bashrc +cat ~/.bashrc +echo ">>>>>>>>>>>>>>>" +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm use default whereis code-gen-pipeline whereis node diff --git a/.scripts/automation_init.sh b/.scripts/automation_init.sh index afd19458de4b..e4a8bb773f03 100644 --- a/.scripts/automation_init.sh +++ b/.scripts/automation_init.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash +cat ~/.bashrc +echo ">>>>>>>>>>>>>>>" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install v18.15.0