Skip to content

Build Example App Preview #11

Build Example App Preview

Build Example App Preview #11

name: Build Example App Preview
on:
workflow_dispatch:
inputs:
platform:
description: Platform
type: choice
required: true
default: all
options:
- all
- android
- ios
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🏗 Setup node
uses: ./.github/actions/setup-node
- name: 🏗 Setup expo
uses: expo/expo-github-action@v7
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 🗂️ Install dependencies
working-directory: example
run: pnpm install
- name: 🔨 EAS build
working-directory: example
run: eas build --non-interactive --no-wait --platform=${{ github.event.inputs.platform }} --profile=preview