40 lines
768 B
YAML
Raw Normal View History

2023-09-07 02:12:11 +01:00
name: 'Check localisations'
on:
workflow_dispatch:
push:
# branches:
# - main
pull_request:
permissions:
contents: read
pull-requests: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
2025-02-11 17:55:51 +00:00
- uses: pnpm/action-setup@v4
2023-09-07 02:14:07 +01:00
with:
2025-02-11 17:55:51 +00:00
version: 10
2023-09-07 02:14:07 +01:00
2023-09-07 02:12:11 +01:00
- name: Setup node
uses: actions/setup-node@v3
with:
2025-02-11 17:31:01 +00:00
node-version: 22
2023-09-07 02:12:11 +01:00
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Validate localisations
2023-09-07 02:16:09 +01:00
run: node ./scripts/check-i18n.js