Skip to content

Workflow file for this run

name: Expo PR Branch Preview
on:
pull_request:
types: [opened, synchronize]
jobs:
preview:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
packager: npm
- name: πŸ“¦ Install dependencies
run: npm install
- name: πŸš€ Create preview with environment variables to development build
run: npm run push-to-dev-with-branch ${{ github.head_ref }}