From 4dfce1096e7c8b44dc6147a7e02cf0665dd67cda Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 6 Feb 2026 20:53:41 +0300 Subject: [PATCH] ci: set nightly default and install Node 20 for trunk --- .gitea/workflows/build-mips.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-mips.yml b/.gitea/workflows/build-mips.yml index a5e55f4..dc1063b 100644 --- a/.gitea/workflows/build-mips.yml +++ b/.gitea/workflows/build-mips.yml @@ -29,9 +29,19 @@ jobs: fi . "$HOME/.cargo/env" rustup toolchain install nightly --profile minimal - rustup target add wasm32-unknown-unknown --toolchain nightly - rustup component add rust-src --toolchain nightly - rustc +nightly --version + rustup default nightly + rustup target add wasm32-unknown-unknown + rustup component add rust-src + rustc --version + + - name: Setup Node.js + run: | + if ! command -v node >/dev/null 2>&1 || [ "$(node -v | cut -d. -f1 | tr -d v)" -lt 20 ]; then + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y -qq nodejs + fi + node -v + npm -v - name: Install Trunk run: |