Rename marathonUuid to marathonYear in PointOpportunity related compo… #286
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
# This workflow follows EAS's Persistent staging flow - https://docs.expo.dev/eas-update/deployment-patterns/#persistent-staging-flow | |
name: EAS Update | |
on: | |
push: | |
# Release is a special branch that is kept in sync with the production app | |
# We also want to keep the development build in sync with the main branch | |
branches: ["release", "main"] | |
paths: | |
- "packages/common/lib/**" | |
- "packages/common/tsconfig.json" | |
- "packages/mobile/src/**" | |
- "packages/mobile/App.tsx" | |
- "packages/mobile/index.js" | |
- "packages/mobile/app.json" | |
- "packages/mobile/app.config.ts" | |
- "packages/mobile/app.config.json" | |
- "packages/mobile/metro.config.js" | |
- "packages/mobile/tsconfig.json" | |
- "yarn.lock" | |
- ".yarnrc.yml" | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Enable Corepack before setting up Node | |
run: corepack enable | |
- name: Set up node 22.x | |
uses: actions/[email protected] | |
with: | |
node-version: 22 | |
cache: yarn | |
- name: 🏗 Setup EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Build common | |
run: yarn workspace @ukdanceblue/common run build | |
- name: Create update | |
run: eas update --auto --non-interactive | |
working-directory: packages/mobile | |
- name: Upload Sentry sourcemaps | |
run: npx sentry-expo-upload-sourcemaps dist | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
working-directory: packages/mobile |