-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to react-native-test-app for example
side effect: example is now up to date
- Loading branch information
Showing
70 changed files
with
9,571 additions
and
7,792 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 |
---|---|---|
|
@@ -8,25 +8,26 @@ on: | |
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# linting: | ||
# name: ESLint | ||
# timeout-minutes: 15 | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: styfle/[email protected] | ||
# with: | ||
# all_but_latest: true | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# fetch-depth: 1 | ||
# - uses: actions/setup-node@v2 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 16 | ||
# node-version: 18 | ||
# - name: Get yarn cache directory path | ||
# id: yarn-cache-dir-path | ||
# run: echo "::set-output name=dir::$(yarn cache dir)" | ||
# - uses: actions/cache@v2 | ||
# - uses: actions/cache@v3 | ||
# name: Yarn Cache | ||
# id: yarn-cache | ||
# with: | ||
|
@@ -35,7 +36,7 @@ jobs: | |
# restore-keys: | | ||
# ${{ runner.os }}-yarn- | ||
# - name: Yarn Install | ||
# uses: nick-invision/retry@v2 | ||
# uses: nick-fields/retry@v2 | ||
# with: | ||
# timeout_minutes: 3 | ||
# retry_wait_seconds: 30 | ||
|
@@ -63,19 +64,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
name: Yarn Cache | ||
id: yarn-cache | ||
with: | ||
|
@@ -84,7 +82,7 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Yarn Install | ||
uses: nick-invision/retry@v2 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 3 | ||
retry_wait_seconds: 30 | ||
|
@@ -98,19 +96,16 @@ jobs: | |
# runs-on: ubuntu-latest | ||
# timeout-minutes: 15 | ||
# steps: | ||
# - uses: styfle/[email protected] | ||
# with: | ||
# all_but_latest: true | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 1 | ||
# - uses: actions/setup-node@v2 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 16 | ||
# node-version: 18 | ||
# - name: Get yarn cache directory path | ||
# id: yarn-cache-dir-path | ||
# run: echo "::set-output name=dir::$(yarn cache dir)" | ||
# - uses: actions/cache@v2 | ||
# - uses: actions/cache@v3 | ||
# name: Yarn Cache | ||
# id: yarn-cache | ||
# with: | ||
|
@@ -119,14 +114,14 @@ jobs: | |
# restore-keys: | | ||
# ${{ runner.os }}-yarn- | ||
# - name: Yarn Install | ||
# uses: nick-invision/retry@v2 | ||
# uses: nick-fields/retry@v2 | ||
# with: | ||
# timeout_minutes: 3 | ||
# retry_wait_seconds: 30 | ||
# max_attempts: 3 | ||
# command: yarn --no-audit --prefer-offline | ||
# - name: Yarn Install (Website) | ||
# uses: nick-invision/retry@v2 | ||
# uses: nick-fields/retry@v2 | ||
# with: | ||
# timeout_minutes: 3 | ||
# retry_wait_seconds: 30 | ||
|
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 |
---|---|---|
|
@@ -15,6 +15,10 @@ on: | |
- 'docs/**' | ||
- '**/*.md' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# ------------------ | ||
# Android | ||
|
@@ -24,56 +28,52 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 70 | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 50 | ||
|
||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "yarn-cache-dir-path=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
name: Yarn Cache | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache-dir-path }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}-v1 | ||
|
||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
name: Gradle Cache | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-v1 | ||
|
||
- name: Yarn Install | ||
uses: nick-invision/retry@v2 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 10 | ||
retry_wait_seconds: 60 | ||
max_attempts: 3 | ||
command: yarn --no-audit --prefer-offline | ||
|
||
- name: Configure JDK 1.11 | ||
uses: actions/setup-java@v2 | ||
- name: Configure JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' # ubuntu-latest is about to default to 11, force it everywhere | ||
java-version: '17' | ||
|
||
- name: Verify JDK11 | ||
# Default JDK varies depending on different runner flavors, make sure we are on 11 | ||
- name: Verify JDK | ||
# Default JDK varies depending on different runner flavors, make we get expected version | ||
# Run a check that exits with error unless it is 11 version to future-proof against unexpected upgrades | ||
run: java -fullversion 2>&1 | grep '11.0' | ||
run: java -fullversion 2>&1 | grep '17.0' | ||
shell: bash | ||
|
||
- name: Build Android App | ||
uses: nick-invision/retry@v2 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 15 | ||
retry_wait_seconds: 60 | ||
|
@@ -85,57 +85,57 @@ jobs: | |
# ------------------ | ||
ios: | ||
name: iOS | ||
runs-on: macos-latest | ||
runs-on: macos-13 | ||
# TODO matrix across APIs, at least 10 and 13 (lowest to highest) | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 50 | ||
|
||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
|
||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: Get Xcode version | ||
id: xcode-version | ||
run: echo "::set-output name=xcode-version::$(xcodebuild -version|tail -1|cut -f3 -d' ')" | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "yarn-cache-dir-path=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
name: Yarn Cache | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache-dir-path }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}-v1 | ||
|
||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
name: Cache Pods | ||
with: | ||
path: example/ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}-v1 | ||
|
||
- name: Update brew build tools | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 10 | ||
retry_wait_seconds: 60 | ||
max_attempts: 3 | ||
command: brew install xcbeautify | ||
|
||
- name: Update Ruby build tools | ||
uses: nick-invision/retry@v2 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 10 | ||
retry_wait_seconds: 60 | ||
max_attempts: 3 | ||
command: gem update cocoapods xcodeproj | ||
|
||
- name: Yarn and Pod Install | ||
uses: nick-invision/retry@v2 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 10 | ||
retry_wait_seconds: 60 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.binlog | ||
*.hprof | ||
*.xcworkspace/ | ||
*.zip | ||
.DS_Store | ||
.gradle/ | ||
.idea/ | ||
.vs/ | ||
.xcode.env | ||
Pods/ | ||
build/ | ||
dist/ | ||
local.properties | ||
msbuild.binlog | ||
node_modules/ |
Oops, something went wrong.