ci: set nightly default and install Node 20 for trunk
Some checks failed
Build MIPS Binary / build (push) Failing after 9m9s
Some checks failed
Build MIPS Binary / build (push) Failing after 9m9s
This commit is contained in:
@@ -29,9 +29,19 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
rustup toolchain install nightly --profile minimal
|
rustup toolchain install nightly --profile minimal
|
||||||
rustup target add wasm32-unknown-unknown --toolchain nightly
|
rustup default nightly
|
||||||
rustup component add rust-src --toolchain nightly
|
rustup target add wasm32-unknown-unknown
|
||||||
rustc +nightly --version
|
rustup component add rust-src
|
||||||
|
rustc --version
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
run: |
|
||||||
|
if ! command -v node >/dev/null 2>&1 || [ "$(node -v | cut -d. -f1 | tr -d v)" -lt 20 ]; then
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||||
|
apt-get install -y -qq nodejs
|
||||||
|
fi
|
||||||
|
node -v
|
||||||
|
npm -v
|
||||||
|
|
||||||
- name: Install Trunk
|
- name: Install Trunk
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user