Skip to content

feat(ux): depth + entrance on shared EmptyState (#139) #133

feat(ux): depth + entrance on shared EmptyState (#139)

feat(ux): depth + entrance on shared EmptyState (#139) #133

Workflow file for this run

name: EAS Update (OTA)
on:
push:
branches: [main]
workflow_dispatch:
inputs:
message:
description: "Update message"
required: false
default: "OTA update"
permissions:
contents: read
jobs:
update:
name: Publish OTA Update
runs-on: ubuntu-latest
# Secret can't be read in a job-level `if`; mirror it to env and guard each
# step so the job is a clean no-op (green) when no Expo token is configured.
env:
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
steps:
- uses: actions/checkout@v4
if: ${{ env.EXPO_TOKEN != '' }}
- uses: pnpm/action-setup@v4
if: ${{ env.EXPO_TOKEN != '' }}
with:
version: 10
- uses: actions/setup-node@v4
if: ${{ env.EXPO_TOKEN != '' }}
with:
node-version: 20
cache: pnpm
- uses: expo/expo-github-action@v8
if: ${{ env.EXPO_TOKEN != '' }}
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- run: pnpm install
if: ${{ env.EXPO_TOKEN != '' }}
- name: Publish update
if: ${{ env.EXPO_TOKEN != '' }}
run: eas update --auto --non-interactive --message "${{ inputs.message || 'OTA update' }}"