From 3d2811740a29a9a7d37da29193c9745787ba7d3c Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Fri, 1 Apr 2022 11:18:05 +0200 Subject: [PATCH] chore(ci): create yarn.lock on js repository --- scripts/release/process-release.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release/process-release.ts b/scripts/release/process-release.ts index 23596e5b85..78bfde77c9 100755 --- a/scripts/release/process-release.ts +++ b/scripts/release/process-release.ts @@ -46,7 +46,8 @@ const BEFORE_CLIENT_GENERATION: { const BEFORE_CLIENT_COMMIT: { [lang: string]: BeforeClientCommitCommand } = { javascript: async ({ dir }) => { - await run(`yarn`, { cwd: dir }); // generate `yarn.lock` file + // https://github.com/yarnpkg/berry/issues/2948 + await run(`YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn`, { cwd: dir }); // generate `yarn.lock` file }, };