Skip to content

tech: Use yarn v3 #2405

tech: Use yarn v3

tech: Use yarn v3 #2405

name: 'Pull Request / Common'
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
concurrency:
group: pr-common-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
lint_codes_format:
runs-on: ubuntu-latest
name: Check code formatting
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: YARN_ENABLE_SCRIPTS=false yarn install --immutable
- name: Run Prettier
run: yarn run lint:prettier