Parcourir la source

ci: npm i -g is deprecated

LongYinan il y a 3 ans
Parent
commit
3a0719b374
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/CI.yml

+ 1 - 1
.github/workflows/CI.yml

@@ -192,7 +192,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"