no need for extra nvm change for admin and frontend, because default version is now the correct one

This commit is contained in:
einhornimmond 2025-03-15 10:39:03 +01:00
parent 5853fff27c
commit 5c3b121a58

View File

@ -226,9 +226,6 @@ log_step 'Updating frontend'
cd $PROJECT_ROOT/frontend
# TODO maybe handle this differently?
unset NODE_ENV
nvm use
nvm install
npm i -g yarn
yarn install
yarn build
# TODO maybe handle this differently?
@ -239,16 +236,11 @@ log_step 'Updating admin'
cd $PROJECT_ROOT/admin
# TODO maybe handle this differently?
unset NODE_ENV
nvm use
nvm install
npm i -g yarn
yarn install
yarn build
# TODO maybe handle this differently?
export NODE_ENV=production
nvm use default
# Install & build dht-node
log_step 'Updating dht-node'
cd $PROJECT_ROOT/dht-node