Skip to content

Commit

Permalink
ci: set nvm as 14.17.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Aug 25, 2023
1 parent d93ee7e commit dc2d63f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/build/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ echo example_electron_version: $example_electron_version
echo example_sdk_mode: $example_sdk_mode
echo package_version: $package_version

export NVM_DIR="$HOME/.nvm"
source "${NVM_DIR}/nvm.sh" --install
export https_proxy=http://10.80.1.174:1080 http_proxy=http://10.80.1.174:1080 all_proxy=http://10.80.1.174:1080
source ~/.nvm/nvm.sh --install
nvm ls-remote 14.17.3
nvm install 14.17.3
nvm use 14.17.3
export -n https_proxy http_proxy all_proxy

pushd /tmp/jenkins/Electron-SDK

Expand Down
7 changes: 7 additions & 0 deletions ci/build/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,14 @@ call npm config delete ARTIFACTORY_API_KEY
echo npm config list
call npm config list

set https_proxy=http://10.80.1.174:1080
set http_proxy=http://10.80.1.174:1080
set all_proxy=http://10.80.1.174:1080
call nvm install 14.17.3
call nvm use 14.17.3
set https_proxy=
set http_proxy=
set all_proxy=

del /a /f /s *.zip
del /a /f /s Electron-SDK
Expand Down

0 comments on commit dc2d63f

Please sign in to comment.