Skip to content

Sync Crowdin

Sync Crowdin #12

Workflow file for this run

name: Sync Crowdin
on: [workflow_dispatch]
jobs:
sync:
runs-on: ubuntu-latest
env:
TIMER_CROWDIN_AUTH: ${{ secrets.TIMER_CROWDIN_AUTH }}
steps:
- uses: actions/checkout@v2
- name: Test using Node.js
uses: actions/setup-node@v1
with:
node-version: "v20.11.0"
- name: Install ts-node
run: npm i -g ts-node
- name: Install dependencies
run: npm install
- name: Sync source
run: ts-node ./script/crowdin/sync-source.ts
- name: Sync translations
run: ts-node ./script/crowdin/sync-translation.ts