From 99e1f2e98d3e166c43426af90fd14dea802b03ff Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 12 Jun 2026 16:41:38 +0800 Subject: [PATCH] ci: avoid actions/setup-node, install node via nodesource --- .gitea/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 83dc779..c22b460 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -19,9 +19,9 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - name: Install Rust target run: rustup target add wasm32-unknown-unknown @@ -57,9 +57,9 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - name: Install Rust target run: rustup target add wasm32-unknown-unknown