Skip to content

refactor(i18n): restructure i18n system and add EN/CN translations #362

refactor(i18n): restructure i18n system and add EN/CN translations

refactor(i18n): restructure i18n system and add EN/CN translations #362

Workflow file for this run

name: "vrt"
on:
pull_request:
branches:
- main
jobs:
vrt:
timeout-minutes: 15
env:
SERVER_ENV: local
AWS_REGION: auto # Cloudflare R2's region should be `auto`.
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
REG_SUIT_GITHUB_CLIENT_ID: ${{ secrets.REG_SUIT_GITHUB_CLIENT_ID }}
HASH_PR: ${{ github.event.pull_request.head.sha }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: cache playwright browsers
id: playwright-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- name: install system dependencies for Playwright
run: npx playwright install-deps chromium
- run: npm run build
- run: npm run vrt