Skip to content

Commit

Permalink
feat: add react-native-test-app (#603)
Browse files Browse the repository at this point in the history
* feat: add react-native-test-app

* fix: update yarn

* fix: action

* fix: commit yarn

* fix: ios ci

* fix: missing input
  • Loading branch information
Naturalclar authored Nov 27, 2024
1 parent 87b913a commit 313754f
Show file tree
Hide file tree
Showing 140 changed files with 26,573 additions and 24,646 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -30,13 +30,13 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -51,13 +51,13 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -72,16 +72,18 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '11'
- uses: actions/setup-node@v1
distribution: temurin
java-version: 17
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -96,13 +98,13 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -111,21 +113,21 @@ jobs:
- name: Install Podfiles
run: cd example && npx pod-install
- name: Build example app
run: yarn ios
run: yarn ios --no-packager
macos:
runs-on: macos-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -134,4 +136,4 @@ jobs:
- name: Install Podfiles
run: cd example/macos && npx pod-install
- name: Build example app
run: yarn macos
run: yarn macos --no-packager
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ npm-debug.log
yarn-error.log



# Xcode
#
build/
Expand Down Expand Up @@ -75,4 +76,5 @@ web-build
dist/

# yarn files
.yarn
.yarn
!.yarn/releases
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
6 changes: 0 additions & 6 deletions example/.buckconfig

This file was deleted.

69 changes: 12 additions & 57 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,16 @@
# OSX
#
*.binlog
*.hprof
*.xcworkspace/
*.zip
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate

# Android/IntelliJ
#
.gradle/
.idea/
.vs/
.xcode.env
Pods/
build/
.idea
.gradle
dist/*
!dist/.gitignore
local.properties
*.iml
*.hprof

# node.js
#
msbuild.binlog
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle

# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/
2 changes: 1 addition & 1 deletion example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
5 changes: 0 additions & 5 deletions example/App.ts

This file was deleted.

6 changes: 0 additions & 6 deletions example/Gemfile

This file was deleted.

100 changes: 0 additions & 100 deletions example/Gemfile.lock

This file was deleted.

2 changes: 0 additions & 2 deletions example/_bundle/config

This file was deleted.

1 change: 0 additions & 1 deletion example/_ruby-version

This file was deleted.

Loading

0 comments on commit 313754f

Please sign in to comment.