Skip to content

Commit

Permalink
remove nvm installation for SDK automation (#30607)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Aug 13, 2024
1 parent 6e320ec commit 1c87b11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm use default
code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts
6 changes: 1 addition & 5 deletions .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#!/usr/bin/env bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install v18.15.0
nvm alias default node
npm install -g @azure-tools/typespec-client-generator-cli
npm install -g @microsoft/[email protected]
npm install -g @azure-tools/js-sdk-release-tools

0 comments on commit 1c87b11

Please sign in to comment.