[FCE-715] Configure project for eas builds #6
Workflow file for this run
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
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
build: | |
if: ${{ github.event.label.name == 'eas build' }} | |
runs-on: macOS-latest | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: π Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: π Setup EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: π¦ Install dependencies | |
run: yarn && yarn build | |
- name: π Build app | |
run: eas build --non-interactive --platform=all | |
working-directory: examples/fishjam-chat | |
- name: β Submit iOS app to TestFlight | |
run: eas submit --non-interactive --platform=ios --latest | |
working-directory: examples/fishjam-chat |