summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2024-05-21 10:10:59 +0900
committerGitHub <noreply@github.com>2024-05-21 10:10:59 +0900
commit1d4e6393f34179c40a91ad3f674c94a5d3942264 (patch)
treed4aeb64f27319835adf669d3255be6e5a434b045 /.github
parentfix: `/share` with unicode characters in the URL (#13846) (diff)
downloadmisskey-1d4e6393f34179c40a91ad3f674c94a5d3942264.tar.gz
misskey-1d4e6393f34179c40a91ad3f674c94a5d3942264.tar.bz2
misskey-1d4e6393f34179c40a91ad3f674c94a5d3942264.zip
ci: verify locale data (#13849)
* ci: verify locale data * ci: separate workflows * ci: missing installation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/locale.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/locale.yml b/.github/workflows/locale.yml
new file mode 100644
index 0000000000..de2247e772
--- /dev/null
+++ b/.github/workflows/locale.yml
@@ -0,0 +1,27 @@
+name: Lint
+
+on:
+ push:
+ paths:
+ - locales/**
+ pull_request:
+ paths:
+ - locales/**
+
+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
+ - uses: actions/setup-node@v4.0.2
+ with:
+ node-version-file: '.node-version'
+ cache: 'pnpm'
+ - run: corepack enable
+ - run: pnpm i --frozen-lockfile
+ - run: cd locales && node verify.js