This repository was archived by the owner on May 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +874
-235
lines changed Expand file tree Collapse file tree 7 files changed +874
-235
lines changed Original file line number Diff line number Diff line change
1
+ name : Build apk
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : 🏗 Setup repo
16
+ uses : actions/checkout@v4
17
+
18
+ - name : 🏗 Setup Node
19
+ uses : actions/setup-node@v4
20
+ with :
21
+ node-version : 20
22
+
23
+ - name : Set up JDK 17
24
+ uses : actions/setup-java@v4
25
+ with :
26
+ java-version : 21
27
+ distribution : temurin
28
+
29
+ - name : 🏗 Setup Bun
30
+ uses : oven-sh/setup-bun@v2
31
+
32
+ - name : 📝 Create .env file
33
+ run : |
34
+ echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" >> .env
35
+ echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env
36
+ echo "EXPO_ROUTER_APP_ROOT=${{ secrets.EXPO_ROUTER_APP_ROOT }}" >> .env
37
+
38
+ - name : 📦 Install jq
39
+ run : sudo apt-get install jq
40
+
41
+ - name : 📦 Install dependencies
42
+ run : bun install
43
+
44
+ - name : 🏗 Setup EAS
45
+ uses : expo/expo-github-action@v8
46
+ with :
47
+ packager : bun
48
+ eas-version : latest
49
+ token : ${{ secrets.EXPO_TOKEN }}
50
+
51
+ - name : 🚀 Build app
52
+ run : eas build --platform android --profile production --non-interactive --wait
Original file line number Diff line number Diff line change 26
26
"plugins" : [" expo-router" ],
27
27
"experiments" : {
28
28
"typedRoutes" : true
29
- }
29
+ },
30
+ "extra" : {
31
+ "router" : {
32
+ "origin" : false
33
+ },
34
+ "eas" : {
35
+ "projectId" : " d5beb55e-16fc-420e-8c39-936c2758dcf0"
36
+ }
37
+ },
38
+ "owner" : " qe170148"
30
39
}
31
40
}
Original file line number Diff line number Diff line change 1
- module . exports = {
2
- presets : [ 'module:metro-react-native-babel-preset' ] ,
3
- plugins : [
4
- [
5
- 'module:react-native-dotenv' ,
6
- {
7
- moduleName : '@env' ,
8
- path : '.env' ,
9
- blocklist : null ,
10
- allowlist : null ,
11
- safe : false ,
12
- allowUndefined : true ,
13
- verbose : false ,
14
- } ,
1
+ module . exports = function ( api ) {
2
+ api . cache ( true ) ;
3
+ return {
4
+ presets : [ 'babel-preset-expo' ] ,
5
+ plugins : [
6
+ [
7
+ 'module:react-native-dotenv' ,
8
+ {
9
+ moduleName : '@env' ,
10
+ path : '.env' ,
11
+ blocklist : null ,
12
+ allowlist : null ,
13
+ safe : false ,
14
+ allowUndefined : true ,
15
+ verbose : false ,
16
+ } ,
17
+ ] ,
15
18
] ,
16
- ] ,
19
+ } ;
17
20
} ;
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ {
2
+ "build" : {
3
+ "preview1" : {
4
+ "android" : {
5
+ "buildType" : " apk"
6
+ }
7
+ },
8
+ "preview2" : {
9
+ "android" : {
10
+ "gradleCommand" : " :app:assembleRelease"
11
+ }
12
+ },
13
+ "preview3" : {
14
+ "developmentClient" : true
15
+ },
16
+ "production" : {
17
+ "android" : {
18
+ "buildType" : " apk" ,
19
+ "gradleCommand" : " :app:assembleRelease" ,
20
+ "developmentClient" : true
21
+ }
22
+ }
23
+ }
24
+ }
Original file line number Diff line number Diff line change 9
9
"test" : " jest"
10
10
},
11
11
"dependencies" : {
12
+ "@expo/config-plugins" : " ~9.0.0" ,
12
13
"@expo/vector-icons" : " 14.1.0" ,
13
14
"@react-native-community/datetimepicker" : " 8.2.0" ,
14
15
"@reduxjs/toolkit" : " ^2.7.0" ,
18
19
"@testing-library/react-native" : " 13.2.0" ,
19
20
"@types/redux-mock-store" : " ^1.5.0" ,
20
21
"expo" : " 52.0.46" ,
22
+ "expo-dev-client" : " ~5.0.20" ,
21
23
"expo-fast-image" : " 1.1.3" ,
22
24
"expo-file-system" : " ~18.0.12" ,
23
25
"expo-image-picker" : " 16.0.6" ,
43
45
"@babel/core" : " 7.26.10" ,
44
46
"@trivago/prettier-plugin-sort-imports" : " 5.2.2" ,
45
47
"@types/react" : " 18.3.12" ,
48
+ "eas-cli" : " 16.3.3" ,
46
49
"prettier" : " 3.5.3" ,
47
50
"react-test-renderer" : " 18.3.1" ,
48
51
"typescript" : " 5.8.3"
Original file line number Diff line number Diff line change 2
2
"extends" : " expo/tsconfig.base" ,
3
3
"compilerOptions" : {
4
4
"strict" : true ,
5
+ "baseUrl" : " ./" ,
5
6
"paths" : {
6
7
"@/*" : [" ./src/*" ]
7
8
},
You can’t perform that action at this time.
0 commit comments