diff --git a/.github/workflows/build-client.yml b/.github/workflows/build-client.yml index ed1f929a..83fbbb75 100644 --- a/.github/workflows/build-client.yml +++ b/.github/workflows/build-client.yml @@ -118,7 +118,25 @@ jobs: run: npm ci - name: Spanish translation test - run: npm run test:intl-translations + # TODO: Make this error fatal when we have a strategy for translations! + # + # Right now, we are trying to quickly iterate on this community + # deployment of CEJST and don't have a clear process or strategy around + # how to handle translations. We're keeping this check in so we have an + # eye on what is or isn't translated, but missing or deprecated + # non-English strings should not stop the build and prevent us from + # merging or deploying changes. + continue-on-error: true + run: | + npm run test:intl-translations + if [ "${?}" -eq 0 ]; then + echo "✅ Translations: In good shape." >> $GITHUB_STEP_SUMMARY + else + echo "⚠️ Translations: English and Spanish are mismatched." >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "See *tranlsations* job logs for details." >> $GITHUB_STEP_SUMMARY + fi + deploy: if: github.ref == 'refs/heads/main'