From 77de5be27cc2cbe9d1807d87d190366a461d22aa Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Tue, 31 Oct 2023 18:56:55 +0800 Subject: [PATCH 1/2] Update the node version --- .scripts/automation_init.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.scripts/automation_init.sh b/.scripts/automation_init.sh index 8f0bbea9d960..a04157858b32 100644 --- a/.scripts/automation_init.sh +++ b/.scripts/automation_init.sh @@ -5,4 +5,7 @@ export NVM_DIR="$HOME/.nvm" nvm install v18.15.0 npm install -g @microsoft/rush@5.92.0 npm install -g @azure-tools/js-sdk-release-tools -code-gen-pipeline +whereis code-gen-pipeline +whereis node +node -v +code-gen-pipeline --version From e672ca4c3ba8258f95726c77be29fafe6b13a706 Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Tue, 31 Oct 2023 18:58:51 +0800 Subject: [PATCH 2/2] Update the node version --- .scripts/automation_generate.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh index 0359c244ef22..b12b625a9518 100644 --- a/.scripts/automation_generate.sh +++ b/.scripts/automation_generate.sh @@ -1,2 +1,6 @@ #!/usr/bin/env bash +whereis code-gen-pipeline +whereis node +node -v +code-gen-pipeline --version code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.11 --typespecEmitter=@azure-tools/typespec-ts