소스 검색

ci: preinstall scripts of yarn@1.22.19 error on FreeBSD

LongYinan 3 년 전
부모
커밋
a5b4f18ea8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 --location=global yarn
+            npm install --location=global --ignore-scripts 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"