2024-05-21 01:10:59 +00:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- locales/**
|
2024-07-14 08:27:27 +00:00
|
|
|
- .github/workflows/locale.yml
|
2024-05-21 01:10:59 +00:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- locales/**
|
2024-07-14 08:27:27 +00:00
|
|
|
- .github/workflows/locale.yml
|
2024-05-21 01:10:59 +00:00
|
|
|
jobs:
|
|
|
|
locale_verify:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
continue-on-error: true
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4.1.1
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: true
|
|
|
|
- uses: pnpm/action-setup@v4
|
2024-10-25 06:08:10 +00:00
|
|
|
- uses: actions/setup-node@v4.1.0
|
2024-05-21 01:10:59 +00:00
|
|
|
with:
|
|
|
|
node-version-file: '.node-version'
|
|
|
|
cache: 'pnpm'
|
|
|
|
- run: corepack enable
|
|
|
|
- run: pnpm i --frozen-lockfile
|
|
|
|
- run: cd locales && node verify.js
|