Skip to content

Commit

Permalink
Add spesific node version to script
Browse files Browse the repository at this point in the history
  • Loading branch information
paularintaharri committed Apr 17, 2024
1 parent 4f7212d commit db2295b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db2295b

Please sign in to comment.