Skip to content

Commit

Permalink
Merge pull request #1957 from MaryGao/npm-install-force-v18
Browse files Browse the repository at this point in the history
Update debug
  • Loading branch information
MaryGao authored Oct 31, 2023
2 parents e060b10 + c69917a commit 5c5a333
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/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
whereis code-gen-pipeline
whereis node
node -v
Expand Down
5 changes: 5 additions & 0 deletions .scripts/automation_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ 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 5c5a333

Please sign in to comment.