diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 707a733..720a276 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -29,11 +29,11 @@ jobs: - name: Install basic dependencies run: | wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash + export NVM_DIR="$HOME/.nvm" echo "::add-path::$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" nvm install 18 nvm use 18 - echo "::add-path::$(which node)" - name: Checkout repository uses: https://github.com/actions/checkout@v3 - name: Build docs