mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-16 17:03:09 +02:00
40 lines
767 B
YAML
40 lines
767 B
YAML
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
|
|
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Validate localisations
|
|
run: node ./scripts/check-i18n.js
|