Skip to content

Commit a404d51

Browse files
committed
chore: tweak workflows
1 parent b40ff5d commit a404d51

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,11 @@ jobs:
5050

5151
- name: Setup Android SDK
5252
uses: android-actions/setup-android@v3
53-
with:
54-
packages: |
55-
platform-tools
56-
platforms;android-36
57-
build-tools;36.0.0
58-
ndk;27.1.12297006
59-
cache: true
6053

6154
- name: Install dependencies
6255
run: bun install --frozen-lockfile
6356

64-
- name: Build workspace packages
57+
- name: Build all workspace packages
6558
run: bun run build
6659

6760
- name: Prebuild Android (Expo)
@@ -73,8 +66,10 @@ jobs:
7366

7467
- name: Setup Gradle (wrapper + dependency cache)
7568
uses: gradle/actions/setup-gradle@v4
76-
with:
77-
build-root-directory: playground/android
69+
70+
- name: Install Android native dependencies (Gradle)
71+
working-directory: playground/android
72+
run: ./gradlew dependencies --no-daemon
7873

7974
- name: Assemble debug APK
8075
working-directory: playground/android
@@ -109,7 +104,7 @@ jobs:
109104
- name: Install dependencies
110105
run: bun install --frozen-lockfile
111106

112-
- name: Build workspace packages
107+
- name: Build all workspace packages
113108
run: bun run build
114109

115110
- name: Prebuild iOS (Expo)

packages/react-native-cordierite/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
"build": "tsc",
2323
"clean": "rm -rf build",
2424
"lint": "eslint .",
25-
"test": "bun test",
26-
"prepare": "tsc",
27-
"prepublishOnly": "bun run lint && bun test && bun run build"
25+
"test": "bun test"
2826
},
2927
"keywords": [
3028
"react-native",

0 commit comments

Comments
 (0)