mirror of
https://github.com/zadam/trilium.git
synced 2026-01-18 12:34:24 +01:00
feat(i18n): add workflow to check translation coverage
This commit is contained in:
parent
9d7ba48a6a
commit
79ca299726
26
.github/workflows/i18n.yml
vendored
Normal file
26
.github/workflows/i18n.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Internationalization
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "weblate:*"
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- "apps/client/src/translations/**"
|
||||
|
||||
jobs:
|
||||
i18n-check:
|
||||
name: Check i18n translations
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: pnpm/action-setup@v4
|
||||
- name: Set up node & dependencies
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: 'pnpm'
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: Check translations
|
||||
run: pnpm tsx scripts/translation/check-translation-coverage.ts
|
||||
Loading…
x
Reference in New Issue
Block a user