Skip to content

Commit

Permalink
Merge pull request #1951 from MaryGao/curl-nvm-latest
Browse files Browse the repository at this point in the history
update scripts
  • Loading branch information
MaryGao authored Oct 31, 2023
2 parents 85583c9 + 0cc80b5 commit 4f0259d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
ls -lh ./
cat ~/.bashrc
whereis code-gen-pipeline
whereis node
node -v
Expand Down
9 changes: 4 additions & 5 deletions .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/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"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
. ~/.bashrc
cat ~/.bashrc
nvm use system
npm uninstall -g a_module
nvm install v18.15.0
npm install -g @microsoft/[email protected]
npm install -g @azure-tools/js-sdk-release-tools
whereis code-gen-pipeline
whereis node
node -v
code-gen-pipeline --version
ls -lh ./

0 comments on commit 4f0259d

Please sign in to comment.