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 Jan 8, 2024
1 parent a1f4710 commit 57ed042
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

1 comment on commit 57ed042

@vercel
Copy link

@vercel vercel bot commented on 57ed042 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.