From 9d04ecd28a70fd2c52cad24ed6ac54b6dd23a991 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Wed, 15 Nov 2023 16:06:06 +0100 Subject: [PATCH] ci: maybe --- .gitea/workflows/server.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 3f97185..3fbbff1 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -31,7 +31,8 @@ jobs: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash echo "::add-path::$HOME/.nvm" export PATH="$HOME/.nvm:$PATH" - echo 'export PATH="$HOME/.nvm:$PATH"' >> ~/.bashrc + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc echo "$HOME/.nvm" >> $GITHUB_PATH - name: Install Node run: |