fix(cli): npm i -g flag is deprecated
This commit is contained in:
parent
4cd1c3aaf8
commit
9b9cd5d23b
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ jobs:
|
||||||
prepare: |
|
prepare: |
|
||||||
pkg install -y curl node14 python2
|
pkg install -y curl node14 python2
|
||||||
curl -qL https://www.npmjs.com/install.sh | sh
|
curl -qL https://www.npmjs.com/install.sh | sh
|
||||||
npm install -g yarn
|
npm install --location=global yarn
|
||||||
curl https://sh.rustup.rs -sSf --output rustup.sh
|
curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
sh rustup.sh -y --profile minimal --default-toolchain stable
|
sh rustup.sh -y --profile minimal --default-toolchain stable
|
||||||
export PATH="/usr/local/cargo/bin:$PATH"
|
export PATH="/usr/local/cargo/bin:$PATH"
|
||||||
|
|
Loading…
Reference in a new issue