Skip to content

Commit

Permalink
include prettier workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandtH22 committed Mar 22, 2024
1 parent dc2c1bf commit 122ebaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
npm ci
npm install
npm run build
- name: Check for Prettier issues
run: npm run check:prettier
- name: Upload build to artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"format": "prettier --write '**/*.{md,mdx}'",
"check:prettier": "prettier --check --ignore-path .gitignore --ignore-path .prettierignore .",
"autofix:prettier": "prettier --write --ignore-path .gitignore --ignore-path .prettierignore .",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
Expand Down

0 comments on commit 122ebaa

Please sign in to comment.