feature: login #25
Workflow file for this run
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
# https://github.com/expo/expo-github-action/tree/main/preview#create-previews-on-pull-requests | |
name: EAS Preview Start | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- apps/mobile/** | |
- apps/server/** | |
jobs: | |
preview: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.10.0 | |
cache: yarn | |
- name: Setup Expo and EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Trigger EAS Preview | |
uses: expo/expo-github-action/preview@v8 | |
id: preview | |
with: | |
working-directory: ./apps/mobile | |
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }} |