From 1d1ef3d69eb5be24896e8c2c50499c8cc7a5471d Mon Sep 17 00:00:00 2001 From: LongYinan Date: Fri, 12 Aug 2022 16:19:59 +0800 Subject: [PATCH] fix(cli): ignore preinstall scripts on FreeBSD while installing yarn --- cli/src/new/ci-template.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/new/ci-template.ts b/cli/src/new/ci-template.ts index 57106ae9..b602000b 100644 --- a/cli/src/new/ci-template.ts +++ b/cli/src/new/ci-template.ts @@ -212,9 +212,9 @@ jobs: usesh: true mem: 3000 prepare: | - pkg install -y curl node14 python2 + pkg install -y curl node16 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"