Skip to content

Commit

Permalink
Add: Add a workflow to ensure translations are up to date
Browse files Browse the repository at this point in the history
Run a CI job to check if the translations are up to date
  • Loading branch information
bjoernricks committed Jan 30, 2025
1 parent 4d65a0b commit 2dd3463
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,22 @@ jobs:
with:
name: linting-report-${{ matrix.node-version }}
path: ${{ env.REPORT_FILE }}

translations:
name: Check translations
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version:
- 20
steps:
- uses: actions/checkout@v4
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Check if translations need an update
run: npm run i18n-extract -- --fail-on-update

0 comments on commit 2dd3463

Please sign in to comment.