Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade node verstion #26944

Merged
merged 2 commits into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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