Skip to content

Commit b77d419

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

2 files changed

Lines changed: 8 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 27 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,34 +66,21 @@ 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
8176
run: ./gradlew assembleDebug --no-daemon
8277

8378
playground-build-ios:
84-
runs-on: macos-14
79+
runs-on: macos-latest
8580
steps:
8681
- name: Checkout
8782
uses: actions/checkout@v4
8883

89-
- name: ccache
90-
uses: hendrikmuhs/ccache-action@v1.2
91-
with:
92-
key: playground-ios-${{ hashFiles('bun.lock', 'playground/package.json', 'playground/app.json') }}
93-
append-timestamp: false
94-
max-size: 2G
95-
96-
- name: Use ccache with Apple Clang (Xcode)
97-
run: |
98-
echo "CC=ccache $(xcrun -find clang)" >> "$GITHUB_ENV"
99-
echo "CXX=ccache $(xcrun -find clang++)" >> "$GITHUB_ENV"
100-
echo "CCACHE_BASEDIR=${{ github.workspace }}" >> "$GITHUB_ENV"
101-
echo "CCACHE_COMPILERCHECK=content" >> "$GITHUB_ENV"
102-
echo "CCACHE_SLOPPINESS=clang_index_store,file_macro,time_macros,include_file_mtime,include_file_ctime" >> "$GITHUB_ENV"
103-
10484
- name: Setup Bun
10585
uses: oven-sh/setup-bun@v2
10686
with:
@@ -109,7 +89,7 @@ jobs:
10989
- name: Install dependencies
11090
run: bun install --frozen-lockfile
11191

112-
- name: Build workspace packages
92+
- name: Build all workspace packages
11393
run: bun run build
11494

11595
- 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)