Skip to content

Merge pull request #418 from jliermann/main #86

Merge pull request #418 from jliermann/main

Merge pull request #418 from jliermann/main #86

Workflow file for this run

name: Localisation Workflow
on:
push:
branches:
- localisation
pull_request:
branches:
- localisation
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/localisation' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install
- name: Write translations
run: npm run write-translations
- name: Upload translations
run: npm run crowdin upload
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}