Skip to content

Preview workflow

Preview workflow #1

Workflow file for this run

name: eas preview build
on:
pull_request:
branches:
- main
workflow_run:
workflows:
- "Node.js CI" # Replace with the actual name of your node.js.yml workflow
types:
- completed
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env:
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.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: πŸš€ Build android apk
run: npm run build:ci:preview:android
- name: πŸš€ Build ios ipa
run: npm run build:ci:preview:ios