add prettier command

This commit is contained in:
Evan
2025-02-12 08:38:38 -08:00
parent 40966ca3b9
commit a3236653d3
4 changed files with 141 additions and 102 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Prettier Check
on:
pull_request:
push:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npx prettier --check .