Upgrade the default Node.js version from 12.4.0 to 14.16.0

Also node-14 will be changed from 14.15.4 to 14.16.0 as intended,
while node-12 will not be changed staying with 12.4.0.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2021-02-27 13:25:53 +00:00
parent 9ce844b7f4
commit adc2958921
2 changed files with 4 additions and 3 deletions

View file

@ -151,8 +151,9 @@ function print_node_args() {
8|8.x) NODE_INSTALL_VERSION=8.16.0 ;;
10|10.x) NODE_INSTALL_VERSION=10.16.0 ;;
12|12.x) NODE_INSTALL_VERSION=12.4.0 ;;
12|12.18) NODE_INSTALL_VERSION=12.18.4 ;;
14|14.15) NODE_INSTALL_VERSION=14.15.4 ;;
12.18) NODE_INSTALL_VERSION=12.18.4 ;;
14.15) NODE_INSTALL_VERSION=14.15.4 ;;
14|14.16) NODE_INSTALL_VERSION=14.16.0 ;;
*) echo "Unknown node version $1"; exit 1;
esac
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"

View file

@ -2,7 +2,7 @@
set -xeuo pipefail
IFS=$'\n\t'
NODE_INSTALL_VERSION=${1:-12.4.0}
NODE_INSTALL_VERSION=${1:-14.16.0}
YARN_INSTALL_VERSION=${2:-1.21.1-1}
# Map MAJOR.MINOR.patch -> MAJOR.x