Skip to content

Commit a77d8f0

Browse files
committed
fix(ci): forward-port to modern yar
- allow it to modify lock files while making test patches we do not care about immutability / reproducible builds in the test patch creation context - use new "--dev" flag in place of old "--save-dev"
1 parent 1c82c9a commit a77d8f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/create_test_patches.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ jobs:
7373
cd $HOME
7474
npx react-native init template --skip-install
7575
cd template
76+
export YARN_ENABLE_IMMUTABLE_INSTALLS=false
7677
yarn
77-
yarn add patch-package --save-dev
78+
yarn add patch-package --dev
7879
mkdir patches || true
7980
for PACKAGE in $PACKAGE_LIST; do
8081
echo "Installing package $PACKAGE into fresh template app, then clobbering with PR version"

0 commit comments

Comments
 (0)