Merge pull request #708 from bounswe/develop #23
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: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build Android APK | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: mobile | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: Enable corepack | |
run: corepack enable | |
- 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 install | |
- name: π Build app | |
run: eas build --non-interactive -p android |