Production-ready Next.js boilerplate with: - Runtime env validation (fail-fast on missing vars) - Feature-gated config (S3, Stripe, email, OAuth) - Docker + Coolify deployment pipeline - PostgreSQL + pgvector, MinIO S3, Better Auth - TypeScript strict mode (no ignoreBuildErrors) - i18n (en/es), AI modules, billing, monitoring Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
801 B
YAML
37 lines
801 B
YAML
name: CI / Publish mobile
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
NODE_VERSION: 22.x
|
|
|
|
jobs:
|
|
tests:
|
|
name: 🧪 Tests
|
|
secrets: inherit
|
|
uses: ./.github/workflows/tests.yml
|
|
|
|
publish:
|
|
name: 🚀 Publish mobile
|
|
runs-on: ubuntu-latest
|
|
environment: Production
|
|
needs: [tests]
|
|
steps:
|
|
- name: ✅ Checkout code
|
|
uses: actions/checkout@v5
|
|
|
|
- name: 🔨 Setup
|
|
uses: ./tooling/github/setup
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
|
|
- name: 🏗 Setup EAS
|
|
uses: expo/expo-github-action@v8
|
|
with:
|
|
eas-version: latest
|
|
token: ${{ secrets.EXPO_TOKEN }}
|
|
|
|
- name: 💨 Publish!
|
|
run: cd apps/mobile && eas build --platform all --profile production --non-interactive --no-wait --auto-submit
|