diff --git a/deploy.sh b/deploy.sh index ada8783..3d57cba 100644 --- a/deploy.sh +++ b/deploy.sh @@ -97,6 +97,12 @@ fi # 2. Select node version selectNodeVersion +# Install Node.js version 18 +echo "Installing Node.js version 18..." +NODE_VERSION="18" +curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | sudo -E bash - +sudo apt-get install -y nodejs + # 3. Install Yarn DESIRED_YARN_VERSION="1.22.22" installYarn