diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 88973fe..e750815 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,7 +10,14 @@ jobs: runs-on: amd64 steps: - name: Install node - run: apt-get update && apt-get install -y nodejs npm || true + run: | + if command -v apk >/dev/null 2>&1; then + apk add --no-cache nodejs npm + elif command -v apt-get >/dev/null 2>&1; then + apt-get update && apt-get install -y nodejs npm + else + echo "No package manager found, assuming node present" + fi - uses: actions/checkout@v4 - name: Install Rust uses: dtolnay/rust-toolchain@stable