Skip to content

Commit 9d4c3af

Browse files
authored
chore: rename formatting scripts, add to ci (#30)
1 parent f977427 commit 9d4c3af

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ jobs:
2323
- name: Install dependencies
2424
run: pnpm install
2525

26+
- name: Check formatting
27+
run: pnpm format:check
28+
2629
- name: Build
2730
run: pnpm build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"scripts": {
1818
"build": "esbuild --bundle index.js --format=cjs --platform=node --outfile=create.cjs",
1919
"build:playground": "node scripts/build-playground.mjs",
20-
"lint": "prettier --write .",
20+
"format": "prettier --write .",
21+
"format:check": "prettier --check .",
2122
"prepare": "husky install",
2223
"release": "standard-version --sign",
2324
"test:playground": "playwright test",

0 commit comments

Comments
 (0)