Skip to content

Commit 6b64338

Browse files
authored
feat: migrate to monorepo (#147)
* feat: migrate to monorepo * fix: change monorepo name * fix: ci scripts * temporairly disable tests
1 parent 9ed7473 commit 6b64338

File tree

133 files changed

+631
-3739
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+631
-3739
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@ jobs:
2727
- name: Typecheck files
2828
run: yarn typecheck
2929

30-
test:
31-
runs-on: ubuntu-latest
32-
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v3
35-
36-
- name: Setup
37-
uses: ./.github/actions/setup
38-
39-
- name: Run unit tests
40-
run: yarn test --maxWorkers=2 --coverage
41-
4230
build-library:
4331
runs-on: ubuntu-latest
4432
steps:
@@ -97,7 +85,7 @@ jobs:
9785
path: |
9886
~/.gradle/wrapper
9987
~/.gradle/caches
100-
key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
88+
key: ${{ runner.os }}-gradle-${{ hashFiles('apps/example/android/gradle/wrapper/gradle-wrapper.properties') }}
10189
restore-keys: |
10290
${{ runner.os }}-gradle-
10391
@@ -153,7 +141,7 @@ jobs:
153141
path: |
154142
~/.gradle/wrapper
155143
~/.gradle/caches
156-
key: ${{ runner.os }}-gradle-newarch-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
144+
key: ${{ runner.os }}-gradle-newarch-${{ hashFiles('apps/example/android/gradle/wrapper/gradle-wrapper.properties') }}
157145
restore-keys: |
158146
${{ runner.os }}-gradle-newarch-
159147
@@ -193,7 +181,7 @@ jobs:
193181
- name: Install cocoapods
194182
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
195183
run: |
196-
cd example
184+
cd apps/example
197185
pod install --project-directory=ios
198186
env:
199187
NO_FLIPPER: 1
@@ -233,7 +221,7 @@ jobs:
233221
- name: Install cocoapods
234222
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
235223
run: |
236-
cd example
224+
cd apps/example
237225
pod install --project-directory=ios
238226
env:
239227
RCT_NEW_ARCH_ENABLED: 1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)