Skip to content

Commit

Permalink
test(ci): fix patch-package generation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mikehardy committed Dec 22, 2023
1 parent 8c951ac commit c6d0cd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create_test_patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6d0cd5

Please sign in to comment.