Skip to content

Localization support for server #7

Localization support for server

Localization support for server #7

name: "client: Validate Locale Files"
on:
pull_request:
paths:
- 'client/locales/**'
workflow_dispatch:
jobs:
validate-locale-files:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: node:20
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install --prefix .github/scripts
- name: Run validation script
run: npm run client:validate-locale-files --prefix .github/scripts
env:
DEFAULT_LOCALE_CODE: en