Skip to content

Commit

Permalink
upgrade node verstion (#26944)
Browse files Browse the repository at this point in the history
* upgrade node

* node verstion
  • Loading branch information
msyyc authored Oct 20, 2022
1 parent e2a6521 commit f23a72b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/auto_release/PythonSdkLiveTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
# install autorest
sudo npm install -g n
sudo n 14.15.0
export PATH=/usr/local/n/versions/node/14.15.0/bin:$PATH
sudo n 16.15.0
export PATH=/usr/local/n/versions/node/16.15.0/bin:$PATH
sudo npm init -f
sudo npm install -g autorest --save
Expand Down
4 changes: 2 additions & 2 deletions scripts/automation_generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export PATH

# node version degrade
sudo npm install -g n
sudo n 14.15.0
export PATH=/usr/local/n/versions/node/14.15.0/bin:$PATH
sudo n 16.15.0
export PATH=/usr/local/n/versions/node/16.15.0/bin:$PATH

TEMP_FILE="$TMPDIR/venv-sdk/auto_temp.json"
# generate code
Expand Down
4 changes: 2 additions & 2 deletions scripts/sdk_generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export PATH

# node version degrade
npm install -g n
n 14.15.0
n 16.15.0
echo "$PATH"
export PATH="/usr/local/n/versions/node/14.15.0/bin:$PATH"
export PATH="/usr/local/n/versions/node/16.15.0/bin:$PATH"

TEMP_FILE="$TMPDIR/venv-sdk/auto_temp.json"
# generate code
Expand Down

0 comments on commit f23a72b

Please sign in to comment.