From 4de36f611c7ece216ca3d7aadbf983f1f8a058b7 Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Tue, 31 Oct 2023 18:45:04 +0800 Subject: [PATCH] Update the node version --- .scripts/automation_init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scripts/automation_init.sh b/.scripts/automation_init.sh index d58d47300094..272595fc4027 100644 --- a/.scripts/automation_init.sh +++ b/.scripts/automation_init.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash -. $NVM_DIR/nvm.sh +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm install v18.15.0 npm install -g @microsoft/rush@5.92.0 npm install -g @azure-tools/js-sdk-release-tools