From 57ed0425738f5ea6951aa5225607eab2882e6626 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Fri, 22 Dec 2023 00:28:35 -0500 Subject: [PATCH] test(ci): fix patch-package generation when react-native started installing by default they used npm, which caused there to be an npm/yarn conflict and that in turn confused patch-package skip install during react-native template init then use yarn --- .github/workflows/create_test_patches.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_test_patches.yml b/.github/workflows/create_test_patches.yml index d269d46280..fd293b634b 100644 --- a/.github/workflows/create_test_patches.yml +++ b/.github/workflows/create_test_patches.yml @@ -71,8 +71,9 @@ jobs: done ls -la $HOME/packages/ cd $HOME - npx react-native init template + npx react-native init template --skip-install cd template + yarn yarn add patch-package --save-dev mkdir patches || true for PACKAGE in $PACKAGE_LIST; do