Skip to content

Commit

Permalink
Update debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryGao committed Oct 31, 2023
1 parent c69917a commit 3df7708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/usr/bin/env bash
cat ~/.bashrc
. ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm use v18.15.0
nvm use default
whereis code-gen-pipeline
whereis node
node -v
Expand Down
10 changes: 2 additions & 8 deletions .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
#!/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
nvm install v18.15.0
nvm use v18.15.0
nvm alias default node
npm install -g @microsoft/[email protected]
npm install -g @azure-tools/js-sdk-release-tools
whereis code-gen-pipeline
whereis node
. ~/.bashrc
cat ~/.bashrc

#code-gen-pipeline: /home/cloudtest/.nvm/versions/node/v18.15.0/bin/code-gen-pipeline
#node: /usr/local/bin/node /home/cloudtest/.nvm/versions/node/v18.15.0/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node
#node: /usr/local/bin/node /opt/hostedtoolcache/node/16.20.2/x64/bin/node

0 comments on commit 3df7708

Please sign in to comment.