Skip to content

V2

V2 #3

Workflow file for this run

name: preview
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
env:
EXPO_USE_FAST_RESOLVER: true # Use the faster Metro resolver in SDK 51
jobs:
build-preview:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v4
- name: 🏗 Setup monorepo
uses: ./.github/actions/setup-monorepo
with:
expo-token: ${{ secrets.EXPO_TOKEN }}
rxdb-license-key: ${{ secrets.RXDB_LICENSE_KEY }}
- name: 👷 Build packages
run: pnpm run -w build:main
- name: 🚀 Create preview
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto --branch=pr-${{ github.event.number }}
working-directory: apps/main
comment: true