From 14c396998790ea433bc140115b9c28d97f79bbe7 Mon Sep 17 00:00:00 2001 From: Cloudygetty Date: Mon, 11 May 2026 07:01:41 -0400 Subject: [PATCH 1/2] feat: add EAS deployment config and build workflow - eas.json: development/preview/production build profiles - app.config.js: full dynamic Expo config (landscape, dark theme, iOS/Android) - .github/workflows/eas-build.yml: auto-build on main push + manual trigger --- .github/workflows/eas-build.yml | 62 +++++++++++++++++++++++++++++++++ app.config.js | 41 ++++++++++++++++++++++ eas.json | 48 +++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 .github/workflows/eas-build.yml create mode 100644 app.config.js create mode 100644 eas.json diff --git a/.github/workflows/eas-build.yml b/.github/workflows/eas-build.yml new file mode 100644 index 0000000..dee881e --- /dev/null +++ b/.github/workflows/eas-build.yml @@ -0,0 +1,62 @@ +name: EAS Build + +on: + push: + branches: [main] + workflow_dispatch: + inputs: + profile: + description: Build profile + required: true + default: preview + type: choice + options: + - development + - preview + - production + platform: + description: Platform + required: true + default: all + type: choice + options: + - all + - ios + - android + +concurrency: + group: eas-${{ github.ref }} + cancel-in-progress: false + +jobs: + build: + name: EAS Build + runs-on: ubuntu-latest + timeout-minutes: 60 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Setup Expo + uses: expo/expo-github-action@v8 + with: + eas-version: latest + token: ${{ secrets.EXPO_TOKEN }} + + - name: Build (preview on push to main) + if: github.event_name == 'push' + run: eas build --profile preview --platform all --non-interactive + + - name: Build (manual) + if: github.event_name == 'workflow_dispatch' + run: eas build --profile ${{ inputs.profile }} --platform ${{ inputs.platform }} --non-interactive diff --git a/app.config.js b/app.config.js new file mode 100644 index 0000000..38f445b --- /dev/null +++ b/app.config.js @@ -0,0 +1,41 @@ +module.exports = { + expo: { + name: 'Run Down', + slug: 'run-down', + version: '0.1.0', + orientation: 'landscape', + icon: './assets/icon.png', + userInterfaceStyle: 'dark', + splash: { + image: './assets/splash.png', + resizeMode: 'contain', + backgroundColor: '#0a0a0f', + }, + ios: { + bundleIdentifier: 'com.claude.rundown', + buildNumber: '1', + supportsTablet: true, + infoPlist: { + UIBackgroundModes: ['fetch', 'processing'], + BGTaskSchedulerPermittedIdentifiers: ['com.claude.rundown.refresh'], + }, + }, + android: { + package: 'com.claude.rundown', + versionCode: 1, + adaptiveIcon: { + foregroundImage: './assets/adaptive-icon.png', + backgroundColor: '#0a0a0f', + }, + }, + extra: { + eas: { + projectId: 'YOUR_EAS_PROJECT_ID', + }, + }, + updates: { + fallbackToCacheTimeout: 0, + }, + assetBundlePatterns: ['**/*'], + }, +}; diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..246ba3a --- /dev/null +++ b/eas.json @@ -0,0 +1,48 @@ +{ + "cli": { + "version": ">= 10.0.0", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal", + "ios": { + "simulator": true + } + }, + "preview": { + "distribution": "internal", + "ios": { + "resourceClass": "m-medium" + }, + "android": { + "buildType": "apk" + } + }, + "production": { + "autoIncrement": true, + "ios": { + "resourceClass": "m-medium", + "image": "latest" + }, + "android": { + "buildType": "app-bundle", + "image": "latest" + } + } + }, + "submit": { + "production": { + "ios": { + "appleId": "YOUR_APPLE_ID", + "ascAppId": "YOUR_APP_STORE_CONNECT_APP_ID", + "appleTeamId": "YOUR_TEAM_ID" + }, + "android": { + "serviceAccountKeyPath": "./google-service-account.json", + "track": "internal" + } + } + } +} From 029d5438f4c73145262e22ff574dd3be44ab1a39 Mon Sep 17 00:00:00 2001 From: Cloudygetty Date: Wed, 13 May 2026 14:01:57 -0400 Subject: [PATCH 2/2] feat: add vercel.json for static demo deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No build toolchain needed — copies demo.html to public/index.html. installCommand skips npm install (pure HTML, no JS deps at build time). --- vercel.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..768c407 --- /dev/null +++ b/vercel.json @@ -0,0 +1,6 @@ +{ + "installCommand": "mkdir -p public", + "buildCommand": "cp demo.html public/index.html", + "outputDirectory": "public", + "regions": ["iad1"] +}