Skip to content

Workflow file for this run

on:
push:
branches:
- '**'
jobs:
preview:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ“₯ Fetch config from master
run: |
git fetch origin master
git checkout origin/master -- ./app.json
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: npm
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: npm install
- name: πŸš€ Create preview
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto --branch ${{ github.event.pusher.name }}/${{ github.event.ref }}
comment: false