mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
fix(cli): npm i -g flag is deprecated
This commit is contained in:
parent
4cd1c3aaf8
commit
9b9cd5d23b
@ -214,7 +214,7 @@ jobs:
|
||||
prepare: |
|
||||
pkg install -y curl node14 python2
|
||||
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
|
||||
sh rustup.sh -y --profile minimal --default-toolchain stable
|
||||
export PATH="/usr/local/cargo/bin:$PATH"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user