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!"