a (#2472) #643
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |