fix: add typing for i18n #96
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check i18n | |
| on: | |
| pull_request: | |
| paths: ["src/i18n/locales/**", "!src/i18n/locales/en.json"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: "package.json" | |
| - run: npm ci | |
| - name: Check changed i18n JSON file matches EN | |
| run: node ./scripts/check-i18n.mjs |