Rework (Expo 55, EAS config, uniwind) #68
Workflow file for this run
This file contains hidden or 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
| 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 }} |