ci: avoid actions/setup-node, install node via nodesource
Some checks failed
CI / build (push) Has been cancelled
CI / check (push) Has been cancelled

This commit is contained in:
xfy 2026-06-12 16:41:38 +08:00
parent 94de78c513
commit 99e1f2e98d

View File

@ -19,9 +19,9 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v4 run: |
with: curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
node-version: '20' apt-get install -y nodejs
- name: Install Rust target - name: Install Rust target
run: rustup target add wasm32-unknown-unknown run: rustup target add wasm32-unknown-unknown
@ -57,9 +57,9 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v4 run: |
with: curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
node-version: '20' apt-get install -y nodejs
- name: Install Rust target - name: Install Rust target
run: rustup target add wasm32-unknown-unknown run: rustup target add wasm32-unknown-unknown