From 9b087b721dee0a6a33bb85ac5098989ab965d658 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 4 Apr 2024 23:15:59 -0700 Subject: [PATCH] Lint and check types before building (#3424) --- .github/workflows/bundle-deploy-eas-update.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index e1269078..6200db64 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -97,6 +97,18 @@ jobs: echo fingerprint-is-different="false" >> "$GITHUB_OUTPUT" fi + - name: Lint check + run: yarn lint + + - name: Prettier check + run: yarn prettier --check . + + - name: Check & compile i18n + run: yarn intl:build + + - name: Type check + run: yarn typecheck + - name: 🔨 Setup EAS uses: expo/expo-github-action@v8 if: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different == 'false'}} @@ -113,10 +125,6 @@ jobs: if: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different == 'false'}} uses: dcarbone/install-jq-action@v2 - - name: 🔤 Compile Translations - if: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different == 'false'}} - run: yarn intl:build - - name: ✏️ Write environment variables if: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different == 'false'}} run: |