diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0d65e975a..3721a75a3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,3 +12,5 @@ jobs: run: bun install - name: Lint run: bun run lint + - name: Prettier check + run: bun run format:check diff --git a/.prettierignore b/.prettierignore index ad1259279..c2648c638 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,4 +5,5 @@ public node_modules tsconfig.json .vscode -coverage \ No newline at end of file +coverage +*.mdx \ No newline at end of file diff --git a/package.json b/package.json index d87b6d212..2f28fa5de 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "build:analyze": "ANALYZE=true npm run build", "start": "next start", "lint": "next lint", - "format": "prettier --write src" + "format": "prettier --write src", + "format:check": "prettier --check src" }, "dependencies": { "@headlessui/react": "1.7.17",