From 3db8a082fdae0827c9d0676f62885f1f30c679fd Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:31:47 +0200 Subject: [PATCH] refresh --- .gitea/workflows/build.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 57651d6..5996a4f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,10 +5,13 @@ jobs: prepare: runs-on: ubuntu-latest steps: - - name: Installing NodeJS... - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - - run: source /root/.bashrc - - run: nvm install 20 + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js 20 + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs - run: node -v - run: npm -v - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"