Skip to content

13 configure prettier to format the code #3

13 configure prettier to format the code

13 configure prettier to format the code #3

Workflow file for this run

name: Check Code Format
on:
pull_request:
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check code format
run: pnpm run format:check