Skip to content

Commit d6c323c

Browse files
committed
chore: check formatting
1 parent 0cad050 commit d6c323c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ jobs:
2626
- name: Install Deps
2727
run: npm i --prefer-offline --no-audit --progress=false
2828

29+
- name: Check Formatting
30+
run: npm format:check
31+
2932
- name: Test
3033
run: npm test -- --run

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"scripts": {
1717
"icons": "svgexport icons/icon.svg public/icons/48.png 48:48 && svgexport icons/icon-grey.svg public/icons/48-grey.png 48:48 && svgexport icons/icon.svg public/icons/96.png 96:96 && svgexport icons/icon-grey.svg public/icons/96-grey.png 96:96",
1818
"format": "prettier . --write",
19+
"format:check": "prettier . --check",
1920
"build": "tsc && vite build",
2021
"watch": "vite build --watch --mode development --minify false",
2122
"dev": "vite",

0 commit comments

Comments
 (0)