Skip to content

Re-add Polish language support #989

Re-add Polish language support

Re-add Polish language support #989

Workflow file for this run

name: Test Deployment
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- main
jobs:
setup:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
build-leaderboard:
name: Test Build Translation Leaderboard
needs: setup
runs-on: ubuntu-latest
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn run generate-leaderboard
sync-localization:
name: Test Sync Localization Files
needs: setup
runs-on: ubuntu-latest
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn crowdin:sync
build-website:
name: Test Build Website
needs: [build-leaderboard, sync-localization]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn build --locale en # Assuming the test build is specific to 'en' locale