Skip to content

Commit 029e2d9

Browse files
committed
fix(ci): allow yarn lockfile modification in CI for patch generation
1 parent ec1174a commit 029e2d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/create_test_patches.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
command: DETOX_DISABLE_POSTINSTALL=1 yarn && yarn lerna:prepare
5959

6060
- name: Create Patches
61+
env:
62+
# yarn3+ by default disables lockfile alteration in CI. We want it.
63+
YARN_ENABLE_IMMUTABLE_INSTALLS=false
6164
run: |
6265
PACKAGE_LIST=`find packages -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | egrep -v 'template|invites'`
6366
mkdir $HOME/packages

0 commit comments

Comments
 (0)