i18n: 更新日韩翻译模板, updated English pages as French template #601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CHECK | |
on: | |
push: | |
branches: | |
- dev | |
- next | |
- main | |
- en | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [16, 18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
run_install: true | |
- name: Set node version to ${{ matrix.node_version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: pnpm | |
- name: Build project | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: pnpm build | |
- name: Build project (MPA) | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: pnpm build-mpa | |
- name: Linter test | |
run: pnpm run lint:check |