mirror of
https://github.com/apache/superset.git
synced 2026-04-16 22:55:52 +00:00
fix: invalid JSON in FR and DE translations (#9803)
* fix: invalid JSON in FR translation * fix: broken or misformatted translations and add unit test for JSON validty * Move translation lint test to CI task
This commit is contained in:
19
.github/workflows/superset-translations.yml
vendored
Normal file
19
.github/workflows/superset-translations.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Translations
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
frontend-build:
|
||||
name: build
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
uses: apache-superset/cached-dependencies@adc6f73
|
||||
with:
|
||||
run: npm-install
|
||||
- name: lint
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run check-translation
|
||||
Reference in New Issue
Block a user