cache translation compilation action step

This commit is contained in:
Samuel Newman
2025-11-19 14:47:45 +02:00
parent 1565e071c1
commit 3eac554633
7 changed files with 77 additions and 22 deletions
@@ -79,10 +79,9 @@ jobs:
run: yarn prettier --check .
- name: 🔤 Compile translations
run: yarn intl:build 2>&1 | tee i18n.log
- name: Check for i18n compilation errors
run: if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compilation errors!\n\n"; fi
uses: ./.github/actions/build-translations
with:
check-for-errors: 'true'
- name: Type check
run: yarn typecheck
@@ -214,7 +213,7 @@ jobs:
key: ${{ runner.os }}-pods-${{ hashFiles('yarn.lock') }}
- name: 🔤 Compile translations
run: yarn intl:build
uses: ./.github/actions/build-translations
# EXPO_PUBLIC_ENV is handled in eas.json
- name: Env
@@ -307,7 +306,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: 🔤 Compile translations
run: yarn intl:build
uses: ./.github/actions/build-translations
# EXPO_PUBLIC_ENV is handled in eas.json
- name: Env