forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into improve-lineheight-…
…calc-ios
- Loading branch information
Showing
496 changed files
with
68,526 additions
and
48,517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: test-library-on-nightly | ||
description: Tests a library on a nightly | ||
inputs: | ||
library-npm-package: | ||
description: The library npm package to add | ||
required: true | ||
platform: | ||
description: whether we want to build for iOS or Android | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Create new app | ||
shell: bash | ||
run: | | ||
cd /tmp | ||
npx @react-native-community/cli init RNApp --skip-install --version nightly | ||
- name: Add library | ||
shell: bash | ||
run: | | ||
cd /tmp/RNApp | ||
yarn add ${{ inputs.library-npm-package }} | ||
- name: Build iOS | ||
shell: bash | ||
if: ${{ inputs.platform == 'ios' }} | ||
run: | | ||
cd /tmp/RNApp/ios | ||
bundle install | ||
bundle exec pod install | ||
xcodebuild build \ | ||
-workspace RNApp.xcworkspace \ | ||
-scheme RNApp \ | ||
-sdk iphonesimulator | ||
- name: Setup Java for Android | ||
if: ${{ inputs.platform == 'android' }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
- name: Build Android | ||
shell: bash | ||
if: ${{ inputs.platform == 'android' }} | ||
run: | | ||
cd /tmp/RNApp/android | ||
./gradlew assembleDebug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.