Skip to content

Commit c7b0346

Browse files
committed
ci: check format on ci
1 parent 071bd7a commit c7b0346

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
with:
2929
bun-version: latest
3030
- run: bun install
31+
- run: bun run format
32+
- run: bun run check
3133
- run: bun run build
3234
- name: Get tag annotation
3335
id: get-tag-annotation

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"dev": "bun --watch src/index.ts",
3030
"build": "bun build src/index.ts --outdir dist --target node && bun -e \"require('fs').chmodSync('dist/index.js', '755')\"",
3131
"start": "bun run dist/index.js",
32-
"format": "biome format --write ."
32+
"format": "biome format --write .",
33+
"check": "biome format ."
3334
},
34-
"packageManager": "[email protected].4"
35+
"packageManager": "[email protected].19"
3536
}

0 commit comments

Comments
 (0)