From efed79b47998897f0cc84b5ccf4ef637830dfb63 Mon Sep 17 00:00:00 2001 From: Karan Singh Date: Mon, 8 Jun 2026 09:02:19 +0530 Subject: [PATCH] add GitHub Actions workflow for production Android APK builds and update EAS configuration --- .github/workflows/deploy.yml | 34 ++++++++++++++++++++++++++++++++++ apps/mobile/eas.json | 5 ++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..fd9a44a --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Production Build & Deploy + +on: + push: + branches: + - main + +jobs: + build-android-apk: + name: Build Android APK + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install dependencies + run: npm ci --legacy-peer-deps + + - name: Setup Expo and EAS + uses: expo/expo-github-action@v8 + with: + eas-version: latest + token: ${{ secrets.EXPO_TOKEN }} + + - name: Build Android APK + working-directory: apps/mobile + run: eas build --platform android --profile production --non-interactive + diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json index 2be3d81..1a4b934 100644 --- a/apps/mobile/eas.json +++ b/apps/mobile/eas.json @@ -12,7 +12,10 @@ "distribution": "internal" }, "production": { - "autoIncrement": true + "autoIncrement": true, + "android": { + "buildType": "apk" + } } }, "submit": {