Add checks for invalid syntax post-i18n builds

This commit is contained in:
Eric Bailey
2025-03-07 11:55:01 -06:00
parent 0014b8b9cd
commit 4a85f1f310
4 changed files with 15 additions and 5 deletions
+4 -1
View File
@@ -56,7 +56,10 @@ jobs:
run: yarn install
- name: 🔤 Compile translations
run: yarn intl:build
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
- name: ✏️ Write environment variables
run: |