ci(mobile): Make mobile dev releases on a new PR #5
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
name: EAS Dev Build | |
on: | |
push: | |
branches: | |
- dev | |
paths: | |
- apps/mobile/** | |
- packages/** | |
pull_request: | |
paths: | |
- apps/mobile/** | |
- packages/** | |
jobs: | |
build: | |
name: Install and build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
# Set up Node.js | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22.11.0' # jod | |
cache: 'yarn' | |
# Install dependencies | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Setup Expo and EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: Build on EAS | |
working-directory: apps/mobile | |
run: eas build --profile development --non-interactive --no-wait --auto-submit-with-profile=development |