From 89542476a91968257c4095a3392fa16072306d5b Mon Sep 17 00:00:00 2001 From: Dustin Do Date: Thu, 8 Aug 2024 02:38:22 +0700 Subject: [PATCH] fix(cd): fix update script (#217) --- .github/workflows/eas-update.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/eas-update.yaml b/.github/workflows/eas-update.yaml index 7b71d256..ea95e4ea 100644 --- a/.github/workflows/eas-update.yaml +++ b/.github/workflows/eas-update.yaml @@ -35,8 +35,8 @@ jobs: ${{ runner.os }}-pnpm-store- - name: 🏗 For act to work (local testing) - if: env.ACT === 'true' - run: npm -g install yarn + if: ${{ env.ACT == 'true' }} + run: pnpm -g install yarn - name: 🏗 Setup EAS uses: expo/expo-github-action@v8 @@ -50,7 +50,8 @@ jobs: - name: 🚀 Create update working-directory: apps/mobile env: - EXPO_USE_METRO_WORKSPACE_ROOT: 1 + NODE_ENV: production + EXPO_USE_METRO_WORKSPACE_ROOT: 0 EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY }} EXPO_PUBLIC_API_URL: ${{ secrets.EXPO_PUBLIC_API_URL }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }}