diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 6d5eb5a..2399f94 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -33,6 +33,8 @@ jobs: export PATH="$HOME/.nvm:$PATH" export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + nvm install 18 + nvm use 18 echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc export PATH="$(which node):$PATH" export PATH="$(which npm):$PATH"