Compile i18n before running lint (#10711)

This commit is contained in:
DS Boyce
2026-06-03 13:21:13 -07:00
committed by GitHub
parent 4367b9d047
commit f99837040e
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -128,15 +128,15 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint check
run: pnpm lint
- name: 🔤 Compile translations
run: pnpm 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: Lint check
run: pnpm lint
- name: Type check
run: pnpm typecheck