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
|
||||
|
||||
- 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user