Skip to content

a (#2472)

a (#2472) #643

name: mobile-release
on:
push:
branches:
- main
# We only want to run a build if things that could've affected mobile changed.
paths:
- yarn.lock
- package.json
- apps/mobile/**/*
- packages/shared/**/*
jobs:
release-android:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.5.0
cache: yarn
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸš€ Build app
run: |
cd apps/mobile;
eas build -p android -e production --non-interactive --auto-submit
release-ios:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.5.0
cache: yarn
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸš€ Build app
run: |
cd apps/mobile;
eas build -p ios -e production --non-interactive --auto-submit