diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index fe45f72..96d2598 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -34,8 +34,10 @@ jobs: 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" echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc + echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_PATH echo "$HOME/.nvm" >> $GITHUB_PATH nvm --version + echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV - name: Check Node.js version run: | nvm --version