Skip to content

feat: add JSON lint check for i18n folder #4

feat: add JSON lint check for i18n folder

feat: add JSON lint check for i18n folder #4

Workflow file for this run

name: JSON Lint
on:
pull_request:
branches: [ "main", "master" ]
push:
branches: [ "main", "master" ]
jobs:
validate-json:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install jsonlint
run: |
npm install --global jsonlint
- name: Run JSON lint
run: |
# Find all JSON files in the i18n folder
find src/portal/src/i18n -name "*.json" -print0 | xargs -0 jsonlint -q