fix(cli): ignore preinstall scripts on FreeBSD while installing yarn

This commit is contained in:
LongYinan 2022-08-12 16:19:59 +08:00
parent c6aeb06e04
commit 1d1ef3d69e
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -212,9 +212,9 @@ jobs:
usesh: true usesh: true
mem: 3000 mem: 3000
prepare: | prepare: |
pkg install -y curl node14 python2 pkg install -y curl node16 python2
curl -qL https://www.npmjs.com/install.sh | sh 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 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"