ci: avoid actions/setup-node, install node via nodesource
This commit is contained in:
parent
94de78c513
commit
99e1f2e98d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user