Skip to content

Rework (Expo 55, EAS config, uniwind) #68

Rework (Expo 55, EAS config, uniwind)

Rework (Expo 55, EAS config, uniwind) #68

Workflow file for this run

name: πŸ“± EAS Preview
env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}
on: [pull_request]
jobs:
preview:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v4
- name: πŸ— Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: πŸ— Setup Node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: pnpm install
- name: πŸš€ Create preview
uses: expo/expo-github-action/preview@v8
with:
# `github.event.pull_request.head.ref` is only available on `pull_request` triggers.
# Use your own, or keep the automatically inferred branch name from `--auto`, when using different triggers.
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }}