Skip to content

Commit

Permalink
try to fail it on a later stage"
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed Jul 3, 2024
1 parent 570c48d commit 3fd7cc3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/check-react-native-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ jobs:
group: ios-react-native-nightly-${{ matrix.react-native-architecture }}-${{ github.ref }}
cancel-in-progress: true
steps:
# Sometimes `npx react-native init` fails due to dependency mismatches or other
# rather vague errors. This is a workaround for that.
- name: Setup Yarn
run: yarn init
- name: Create app
run: npx react-native init app --skip-install --version nightly
working-directory: ExpoApp
run: |
if npm view expo dist-tags | grep -q 'next:' ; then
yarn install react-native@next && yarn react-native init app --skip-install --version next
else
yarn install react-native@nightly && yarn react-native init app --skip-install --version nightly
fi
- name: Install Reanimated
working-directory: app
run: yarn add react-native-reanimated@https://github.com/software-mansion/react-native-reanimated.git#commit=${{ github.sha }}
Expand Down

0 comments on commit 3fd7cc3

Please sign in to comment.