From b6ea3877b5a049031fcd330d3c942cb783fc1f02 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 29 Oct 2025 17:00:14 +0100 Subject: [PATCH] install node without sudo --- .gitea/workflows/demo.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 848480f..e835313 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -21,11 +21,11 @@ jobs: - name: Install Node.js, npm, and Yarn run: | - sudo apt update - sudo apt install -y curl + apt update + apt install -y curl curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - - sudo apt install -y nodejs - sudo npm install -g yarn + apt install -y nodejs + npm install -g yarn - name: Checkout repository manually env: