Skip to content

Commit

Permalink
deps: upgrade the node version to 16
Browse files Browse the repository at this point in the history
the reasoning for choosing the node 16 is because it supports angular
version 13, 14 and 15. We have angular 13 in the pacific

Signed-off-by: Nizamudeen A <[email protected]>
  • Loading branch information
nizamial09 committed Oct 4, 2023
1 parent 536db28 commit cd89c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dashboard/install-e2e-test-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ ! $(arch) =~ (i386|x86_64|amd64) ]]; then
fi

if grep -q debian /etc/*-release; then
NODEJS_MAJOR_VERSION=14
NODEJS_MAJOR_VERSION=16
DISTRO="$(lsb_release -cs)"
if [[ ! $(command -v node) || $(node --version | grep -oE "v([0-9])+" | cut -c 2-) < ${NODEJS_MAJOR_VERSION} ]]; then
sudo apt-get purge nodejs -y
Expand Down

0 comments on commit cd89c2b

Please sign in to comment.