diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index da72ba2..7946703 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -161,11 +161,14 @@ jobs: - name: Install Node.js 18 run: | + # Remove conflicting packages from old Node.js installation + apt-get remove -y libnode-dev node-gyp npm || true + apt-get autoremove -y || true + # Install Node.js 18 from NodeSource curl -fsSL https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs node --version npm --version - - name: Checkout repository run: | TOKEN="${{ secrets.GITEATOKEN }}"