21d53ce0f8
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
16 lines
468 B
YAML
16 lines
468 B
YAML
---
|
|
name: Compile translations
|
|
description: Compile i18n translations and fail on compilation errors.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: 🔤 Compile translations
|
|
shell: bash
|
|
run: pnpm intl:build 2>&1 | tee i18n.log
|
|
|
|
- name: Check for i18n compilation errors
|
|
shell: bash
|
|
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
|