Skip to content

Backport #6273

Backport #6273 #21072

Workflow file for this run

name: Code Analysis Check
on: [push]
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
# node setup
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
# node install
- run: yarn --immutable
- name: Prettier check
run: yarn run prettier
eslint:
name: ESlint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
# node setup
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
# node install
- run: yarn --immutable
- name: ESlint check
run: yarn run lint
i18n:
name: i18n
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
# node setup
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
# node install
- run: yarn --immutable
- name: i18n locales in sync
run: yarn run i18n:ci