Modify translation compilation condition in Github Workflow (#14128)

Translations weren't pulled because --strict does not fail since we've
set english as a fallback locale (since english is set as a fallback it
considers translations have been found and therefore the command does
not fail as expected).

Temporary hotfix but we should do something smarter in the future

@ehconitin fyi
This commit is contained in:
Félix Malfait
2025-08-28 13:10:12 +02:00
committed by GitHub
parent c15f5c07f8
commit f1706670f5
+2 -1
View File
@@ -99,7 +99,8 @@ jobs:
- name: Compile translations
id: compile_translations
if: inputs.force_pull || steps.compile_translations_strict.outcome == 'failure'
# Because we have set English as a fallback locale, this condition does not work anymore
# if: inputs.force_pull || steps.compile_translations_strict.outcome == 'failure'
run: |
npx nx run twenty-server:lingui:compile
npx nx run twenty-emails:lingui:compile