Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Add locale validation script to GitHub CI #173

Open
Labels

Description

The repository already includes a locales validation script (scripts/validate-locales.js), but it is not yet part of the GitHub CI workflow. Adding it to CI will ensure new locale files stay consistent with the English source and prevent broken or incomplete locale merges.

Tasks

  • Inspect scripts/validate-locales.js and confirm it runs correctly in a CI environment.
  • Add a GitHub Actions workflow step that runs the locales validation script before tests or after linting.
  • Ensure failures are reported clearly in GitHub CI when locale files are missing keys or contain invalid JSON.

Notes

  • The validation should run on pull requests and main branch CI, not just local developer scripts.
  • If necessary, add a lightweight npm or pnpm script entry for easier execution (pnpm validate-locales), then use that script in the workflow.

Tip

🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /