@@ -19,27 +19,11 @@ jobs:
19
19
group : ${{ github.ref }}-android
20
20
cancel-in-progress : true
21
21
steps :
22
+ - uses : oven-sh/setup-bun@v2
22
23
- uses : actions/checkout@v4
23
- - uses : ./.github/actions/install-dependencies
24
24
25
- - name : Pull dependencies
26
- uses : actions/cache@v4
27
- with :
28
- path : ./node_modules
29
- key : ${{ hashFiles('./package.json') }}
30
-
31
- - name : Cache example node modules
32
- id : cache-example-npm
33
- uses : actions/cache@v4
34
- env :
35
- cache-name : cached-example-npm-deps
36
- with :
37
- path : example/node_modules
38
- key : ${{ hashFiles('./example/yarn.lock') }}-${{ hashFiles('./yarn.lock') }}
39
-
40
- - name : Install required example dependencies on yarn.lock change
41
- if : steps.cache-example-npm.outputs.cache-hit != 'true'
42
- run : yarn bootstrap-no-pods --frozen-lockfile
25
+ - name : Install dependencies
26
+ uses : ./.github/actions/install-dependencies
43
27
44
28
- uses : actions/setup-java@v4
45
29
with :
@@ -48,11 +32,18 @@ jobs:
48
32
cache : ' gradle'
49
33
50
34
- name : Install Maestro CLI
51
- run : export MAESTRO_VERSION=1.31.0; curl -Ls "https://get.maestro.mobile.dev" | bash
35
+ run : |
36
+ export MAESTRO_VERSION=1.39.1; curl -Ls "https://get.maestro.mobile.dev" | bash
37
+ brew tap facebook/fb
38
+ brew install facebook/fb/idb-companion
52
39
53
40
- name : Add Maestro to path
54
41
run : echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
55
42
43
+ - name : Bundle app
44
+ run : bun run build:android
45
+ working-directory : example
46
+
56
47
- name : Run Android Emulator and app
57
48
uses : reactivecircus/android-emulator-runner@v2
58
49
with :
65
56
avd-name : e2e_emulator
66
57
arch : x86_64
67
58
script : |
68
- yarn run-example-android
69
- yarn test:e2e:android
59
+ bun run-example-android
60
+ bun test:e2e:android
70
61
71
62
- name : Upload report
72
63
if : always()
0 commit comments