diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 62b0fcc..f14fe0a 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -28,7 +28,10 @@ jobs: steps: - name: Install basic dependencies run: | - apt-get update && apt-get install -y nodejs npm zip unzip wget curl ssh jq apt-transport-https + wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + nvm install 18 - name: Checkout repository uses: https://github.com/actions/checkout@v3 - name: Build docs