Checking i18n translations on branch refs/pull/3526/merge #1933
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 translations | |
| run-name: Checking i18n translations on branch ${{ github.ref }} | |
| on: | |
| pull_request: # run on every pull request | |
| push: | |
| branches: # run only on protected branches (develop & master_*) | |
| - develop | |
| - master_* | |
| paths: # only run when translation files might have changed | |
| - 'ui/ui-frontend/projects/**/src/assets/i18n/**' | |
| - 'ui/ui-frontend/projects/**/src/assets/shared-i18n/**' | |
| - 'ui/ui-frontend/projects/check-i18n.js' | |
| jobs: | |
| check-i18n: | |
| name: Check i18n translations | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18.20.3" | |
| - name: Run i18n comparison script | |
| working-directory: tools | |
| run: node check-i18n.js |