-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example Apps React Native Update (#1034)
* example app update * example wallet update * add rn workflow * whoooooops forgot these 2 files * add missing rn dep
- Loading branch information
1 parent
256e6c4
commit 7c92abd
Showing
51 changed files
with
4,495 additions
and
3,923 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: React-Native CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: [ '.github/**', 'examples/example-react-native-*/**', 'js/**' ] | ||
pull_request: | ||
branches: [ main ] | ||
paths: [ '.github/**', 'examples/example-react-native-*/**', 'js/**' ] | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
cache-dependency-path: 'examples/example-react-native-*/yarn.lock' # note - this only caches for examples/, not js/ | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Gradle cache | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
- name: '[js] Install yarn dependencies' | ||
working-directory: 'js/' | ||
run: yarn install --frozen-lockfile | ||
- name: '[js] Lint' | ||
working-directory: 'js/' | ||
run: yarn lint | ||
continue-on-error: true # TODO: fix all lint issues and remove this line | ||
- name: '[js] Build' | ||
working-directory: 'js/' | ||
run: yarn build | ||
|
||
- name: '[Example App] Install yarn dependencies' | ||
working-directory: 'examples/example-react-native-app/' | ||
run: yarn install --frozen-lockfile | ||
- name: '[Example App] Lint' | ||
working-directory: 'examples/example-react-native-app/' | ||
run: yarn lint | ||
continue-on-error: true # TODO: fix all lint issues and remove this line | ||
- name: '[Example App] Build' | ||
working-directory: 'examples/example-react-native-app/' | ||
run: yarn android:build | ||
|
||
- name: '[Example Wallet] Install yarn dependencies' | ||
working-directory: 'examples/example-react-native-wallet/' | ||
run: yarn install --frozen-lockfile | ||
- name: '[Example Wallet] Lint' | ||
working-directory: 'examples/example-react-native-wallet/' | ||
run: yarn lint | ||
continue-on-error: true # TODO: fix all lint issues and remove this line | ||
- name: '[Example Wallet] Build' | ||
working-directory: 'examples/example-react-native-wallet/' | ||
run: yarn android:build |
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.
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
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
2 changes: 1 addition & 1 deletion
2
examples/example-react-native-app/android/gradle/wrapper/gradle-wrapper.properties
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Oops, something went wrong.