Skip to content

Merge pull request #358 from NFDI4Chem/merge-357 #37

Merge pull request #358 from NFDI4Chem/merge-357

Merge pull request #358 from NFDI4Chem/merge-357 #37

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@v2
- name: Set up Node.js
uses: actions/setup-node@v2
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 }}