Skip to content

Automatically check new commits with Prettier #6

Automatically check new commits with Prettier

Automatically check new commits with Prettier #6

Workflow file for this run

name: "Prettier Check"
on:
pull_request:
jobs:
check-prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Download repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js v20.15.0
uses: actions/setup-node@v4
with:
node-version: "20.15.0"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check code with Prettier
run: pnpm exec prettier --check .