Skip to content

Commit 82da37d

Browse files
committed
fix: ci scripts
1 parent 6e98be6 commit 82da37d

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
path: |
9898
~/.gradle/wrapper
9999
~/.gradle/caches
100-
key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
100+
key: ${{ runner.os }}-gradle-${{ hashFiles('apps/example/android/gradle/wrapper/gradle-wrapper.properties') }}
101101
restore-keys: |
102102
${{ runner.os }}-gradle-
103103
@@ -153,7 +153,7 @@ jobs:
153153
path: |
154154
~/.gradle/wrapper
155155
~/.gradle/caches
156-
key: ${{ runner.os }}-gradle-newarch-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
156+
key: ${{ runner.os }}-gradle-newarch-${{ hashFiles('apps/example/android/gradle/wrapper/gradle-wrapper.properties') }}
157157
restore-keys: |
158158
${{ runner.os }}-gradle-newarch-
159159
@@ -193,7 +193,7 @@ jobs:
193193
- name: Install cocoapods
194194
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
195195
run: |
196-
cd example
196+
cd apps/example
197197
pod install --project-directory=ios
198198
env:
199199
NO_FLIPPER: 1
@@ -233,7 +233,7 @@ jobs:
233233
- name: Install cocoapods
234234
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
235235
run: |
236-
cd example
236+
cd apps/example
237237
pod install --project-directory=ios
238238
env:
239239
RCT_NEW_ARCH_ENABLED: 1

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
],
88
"scripts": {
99
"lint": "turbo run lint",
10+
"test": "turbo run test",
11+
"typecheck": "turbo run typecheck",
12+
"prepare": "turbo run prepare",
1013
"build:android": "turbo run build:android",
1114
"build:android:fabric": "turbo run build:android:fabric",
1215
"build:ios": "turbo run build:ios"

turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"$schema": "https://turbo.build/schema.json",
33
"tasks": {
44
"lint": {},
5+
"test": {},
6+
"typecheck": {},
7+
"prepare": {},
58
"build:android": {
69
"env": ["ORG_GRADLE_PROJECT_newArchEnabled"],
710
"inputs": [

0 commit comments

Comments
 (0)