OkayKenji Build of Frontend #5
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: Expo Prod Build | |
run-name: ${{ github.actor }} Build of Frontend | |
on: | |
push: | |
branches: | |
- app-build-branch | |
paths: | |
- 'aquawatch_mobile_app/**' | |
workflow_dispatch: # Manual trigger | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: π Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: π Setup EAS | |
run: npm install -g eas-cli | |
- name: Login to EAS | |
run: eas whoami | |
env: | |
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | |
- name: Install dependencies | |
working-directory: ./aquawatch_mobile_app | |
run: npm install | |
- name: π Build app | |
working-directory: ./aquawatch_mobile_app | |
env: | |
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | |
run: eas build --platform android --non-interactive --no-wait | |