Skip to content

Commit 49626ce

Browse files
MaryGaoraych1
andauthored
1 parent d5c6a7a commit 49626ce

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.scripts/automation_generate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
#!/usr/bin/env bash
2+
export NVM_DIR="$HOME/.nvm"
3+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
4+
nvm use default
25
code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.11 --typespecEmitter=@azure-tools/typespec-ts

.scripts/automation_init.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#!/usr/bin/env bash
2+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
3+
export NVM_DIR="$HOME/.nvm"
4+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
5+
nvm install v18.15.0
6+
nvm alias default node
27
npm install -g @microsoft/[email protected]
38
npm install -g @azure-tools/js-sdk-release-tools

0 commit comments

Comments
 (0)