sendou.ink/.github/workflows/translation-progress.yml
Kalle c31ee4244b
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Update actions/cache
2025-03-03 23:15:54 +02:00

37 lines
843 B
YAML

name: Updates translation progress
on:
push:
branches:
- rewrite
jobs:
update-translation-progress-issue:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Update translation progress issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run check-translation-jsons
gh issue edit 1104 --body-file ./translation-progress.md