@@ -13,24 +13,18 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v6
1515
16- - uses : actions/setup-node@v6
17- with :
18- # Node >= 23.6 runs the TypeScript test files natively (type-stripping),
19- # matching the local toolchain. No build step or extra deps required.
20- node-version : 24
21- cache : npm
22-
16+ - uses : oven-sh/setup-bun@v2.2.0
2317 - name : Install dependencies
24- run : npm install --legacy-peer-deps
18+ run : bun install
2519
2620 - name : Check release version metadata
27- run : npm run check:versions
21+ run : bun run check:versions
2822
2923 - name : Typecheck
30- run : npm run typecheck
24+ run : bun run typecheck
3125
3226 - name : Unit tests
33- run : npm test
27+ run : bun test
3428
3529 build :
3630 runs-on : ubuntu-latest
4438 steps :
4539 - uses : actions/checkout@v6
4640
47- - uses : actions/setup-node@v6
48- with :
49- node-version : 20
50- cache : npm
51-
52- - uses : actions/setup-java@v5
53- with :
54- distribution : temurin
55- java-version : 17
41+ - uses : oven-sh/setup-bun@v2.2.0
5642
5743 - name : Setup Android SDK
5844 uses : android-actions/setup-android@v4
6955 ${{ runner.os }}-gradle-
7056
7157 - name : Install dependencies
72- run : npm install --legacy-peer-deps
58+ run : bun install
7359
7460 - name : Set Sentry release identifiers
7561 # sentry.gradle (applied from android/app/build.gradle) defaults the
@@ -80,13 +66,13 @@ jobs:
8066 # never looks up, so symbolication silently failed. Pin the Gradle-side
8167 # values to exactly what the app reports.
8268 run : |
83- VERSION=$(node -p "require('./app.json').expo.version")
69+ VERSION=$(bun -p "require('./app.json').expo.version")
8470 echo "SENTRY_RELEASE=opencode-mobile@${VERSION}" >> "$GITHUB_ENV"
8571 echo "SENTRY_DIST=${VERSION}" >> "$GITHUB_ENV"
8672 echo "Sentry release=opencode-mobile@${VERSION} dist=${VERSION}"
8773
8874 - name : Expo prebuild
89- run : npx expo prebuild --platform android --no-install
75+ run : bunx expo prebuild --platform android --no-install
9076
9177 - name : Setup signing
9278 run : |
@@ -149,10 +135,7 @@ jobs:
149135 steps :
150136 - uses : actions/checkout@v6
151137
152- - uses : actions/setup-node@v6
153- with :
154- node-version : 20
155- cache : npm
138+ - uses : oven-sh/setup-bun@v2.2.0
156139
157140 # F-Droid's metadata.yml prebuild patch bumps the Kotlin/Java toolchain
158141 # target from 17 to 21 (see the "Apply F-Droid source patches" step
@@ -183,7 +166,7 @@ jobs:
183166 ${{ runner.os }}-gradle-fdroid-
184167
185168 - name : Install dependencies
186- run : npm install --legacy-peer-deps
169+ run : bun install
187170
188171 - name : Apply F-Droid source patches
189172 # Mirrors distribution/fdroid-submission/metadata.yml `Builds:.prebuild`
0 commit comments