This workflow builds the Android app using EAS (Expo Application Services) and creates GitHub releases on tags.
- You need an Expo account
- Create an Expo token: https://expo.dev/settings/access-tokens
Add these secrets in your repository Settings > Secrets and variables > Actions:
| Secret | Value | Description |
|---|---|---|
EXPO_TOKEN |
Your Expo token | Required for EAS builds |
Make sure you have eas.json configured in apps/mobile/:
{
"build": {
"release": {
"android": {
"buildType": "release"
}
}
}
}- Push to main: Runs lint, typecheck, and builds Android
- Create tag: Creates a GitHub release with APK
git tag v1.0.0
git push origin v1.0.0- lint - Runs ESLint on the mobile app
- typecheck - Runs TypeScript type checking
- build-android - Builds Android APK using EAS
- create-release - Creates GitHub release (only on tags)
If you encounter path length issues, ensure Git long paths are enabled:
git config --global core.longpaths true- Run
eas build --platform androidlocally first to set up credentials - Check EAS dashboard for build logs: https://expo.dev/builds