From c69917a8f9e10d22955e844e9398048c749812ec Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Tue, 31 Oct 2023 22:52:52 +0800 Subject: [PATCH] Update debug --- .scripts/automation_generate.sh | 5 +++++ .scripts/automation_init.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh index b12b625a9518..c64296ed8192 100644 --- a/.scripts/automation_generate.sh +++ b/.scripts/automation_generate.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash +cat ~/.bashrc +. ~/.bashrc +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +nvm use v18.15.0 whereis code-gen-pipeline whereis node node -v diff --git a/.scripts/automation_init.sh b/.scripts/automation_init.sh index f8bef0988fd4..8f65807f9177 100644 --- a/.scripts/automation_init.sh +++ b/.scripts/automation_init.sh @@ -9,3 +9,8 @@ npm install -g @azure-tools/js-sdk-release-tools whereis code-gen-pipeline whereis node . ~/.bashrc +cat ~/.bashrc + +#code-gen-pipeline: /home/cloudtest/.nvm/versions/node/v18.15.0/bin/code-gen-pipeline +#node: /usr/local/bin/node /home/cloudtest/.nvm/versions/node/v18.15.0/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node +#node: /usr/local/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node