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
- 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