Deploy: Change deployment scripts to use node v16 from v12
This commit is contained in:
parent
cc83896724
commit
b3379c66d3
|
@ -32,6 +32,6 @@ $UPX_FOLDER = "upx-3.96-win64"
|
||||||
$MONGODB_URL = "https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-v4.2-latest.zip"
|
$MONGODB_URL = "https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-v4.2-latest.zip"
|
||||||
$OPEN_SSL_URL = "https://indy.fulgan.com/SSL/openssl-1.0.2u-x64_86-win64.zip"
|
$OPEN_SSL_URL = "https://indy.fulgan.com/SSL/openssl-1.0.2u-x64_86-win64.zip"
|
||||||
$CPP_URL = "https://go.microsoft.com/fwlink/?LinkId=746572"
|
$CPP_URL = "https://go.microsoft.com/fwlink/?LinkId=746572"
|
||||||
$NPM_URL = "https://nodejs.org/dist/v12.14.1/node-v12.14.1-x64.msi"
|
$NPM_URL = "https://nodejs.org/dist/v16.14.2/node-v16.14.2-x64.msi"
|
||||||
$UPX_URL = "https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip"
|
$UPX_URL = "https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip"
|
||||||
$SWIMM_URL="https://github.com/swimmio/SwimmReleases/releases/download/v0.4.4-0/Swimm-Setup-0.4.4-0.exe"
|
$SWIMM_URL="https://github.com/swimmio/SwimmReleases/releases/download/v0.4.4-0/Swimm-Setup-0.4.4-0.exe"
|
||||||
|
|
|
@ -192,7 +192,7 @@ chmod u+x "${ISLAND_PATH}"/linux/create_certificate.sh
|
||||||
# Update node
|
# Update node
|
||||||
if ! exists npm; then
|
if ! exists npm; then
|
||||||
log_message "Installing nodejs"
|
log_message "Installing nodejs"
|
||||||
node_src=https://deb.nodesource.com/setup_12.x
|
node_src=https://deb.nodesource.com/setup_16.x
|
||||||
if exists curl; then
|
if exists curl; then
|
||||||
curl -sL $node_src | sudo -E bash -
|
curl -sL $node_src | sudo -E bash -
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue