c4bd0f5f79
* Front End: Initialize TypeScript Project * Front End: Re-initialize project using Expo * Front Project Initialization: Add testing dependency * Init Front: Setup EAS configuration file * Front: Workflows: Re-do build CI for Expo
38 lines
821 B
YAML
38 lines
821 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_front:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ./front
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Yarn
|
|
run: npm install -g yarn
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
- name: 🏗 Setup Expo
|
|
uses: expo/expo-github-action@v7
|
|
with:
|
|
expo-version: latest
|
|
eas-version: latest
|
|
token: ${{ secrets.EXPO_TOKEN }}
|
|
- name: Build Android APK
|
|
run: |
|
|
eas build -p android --profile debug --local --non-interactive
|
|
mv *.apk chromacase.apk
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: chromacase.apk
|
|
path: front/
|
|
|