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 +920
-267
lines changed
Expand file tree Collapse file tree 7 files changed +920
-267
lines changed Original file line number Diff line number Diff line change 1+ name : Build apk
2+
3+ on :
4+ push :
5+ branches :
6+ - feature/deploys
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 2626 "plugins" : [" expo-router" ],
2727 "experiments" : {
2828 "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"
3039 }
3140}
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+ ] ,
1518 ] ,
16- ] ,
19+ } ;
1720} ;
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 88 "ios" : " expo start --ios"
99 },
1010 "dependencies" : {
11+ "@expo/config-plugins" : " ~9.0.0" ,
1112 "@expo/vector-icons" : " 14.1.0" ,
1213 "@react-native-community/datetimepicker" : " 8.2.0" ,
1314 "@reduxjs/toolkit" : " ^2.7.0" ,
1415 "@supabase/supabase-js" : " ^2.49.4" ,
1516 "expo" : " 52.0.46" ,
17+ "expo-dev-client" : " ~5.0.20" ,
1618 "expo-fast-image" : " 1.1.3" ,
1719 "expo-file-system" : " ~18.0.12" ,
1820 "expo-image-picker" : " 16.0.6" ,
3537 "@babel/core" : " 7.26.10" ,
3638 "@trivago/prettier-plugin-sort-imports" : " 5.2.2" ,
3739 "@types/react" : " 18.3.12" ,
40+ "eas-cli" : " 16.3.3" ,
3841 "prettier" : " 3.5.3" ,
3942 "typescript" : " 5.8.3"
4043 },
Original file line number Diff line number Diff line change 22 "extends" : " expo/tsconfig.base" ,
33 "compilerOptions" : {
44 "strict" : true ,
5+ "baseUrl" : " ./" ,
56 "paths" : {
67 "@/*" : [" ./src/*" ]
78 },
You can’t perform that action at this time.
0 commit comments