diff --git a/scripts/release.ts b/scripts/release.ts index 47986e98f..53909c523 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -605,7 +605,7 @@ function resolveCdWorkflow(): string | null { async function installDependencies() { log.step('安装依赖') - exec('pnpm install --frozen-lockfile') + exec('pnpm install --frozen-lockfile', { env: { CI: 'true' } }) log.success('依赖安装完成') }