Skip to content

Build CI

Build CI #4

Workflow file for this run

name: Android build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
with:
lfs: true
- name: πŸ— Enable corepack
run: corepack enable
- name: πŸ— Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: πŸ“¦ Install dependencies
run: npm install
- name: πŸ”‘ Inject secrets
run: echo $GOOGLE_SERVICES_JSON > google-services.json
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
- name: πŸš€ Build app
run: |
npx expo prebuild --platform android
cd android
./gradlew bundleDebug