Skip to content

Commit

Permalink
fix Prettier in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Mar 12, 2024
1 parent 7462ff2 commit e9d2932
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
with:
version: 8.15.2
run_install: true
- name: Prettier check
run: pnpx prettier --check *.ts
- name: Code style check
run: pnpm fmt:check
- name: Run tests
run: pnpm test
user_test:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"sideEffects": false,
"scripts": {
"test": "tsc -p .",
"fmt": "prettier --write *.ts"
"fmt": "prettier --write *.ts",
"fmt:check": "prettier --check *.ts"
},
"devDependencies": {
"@gplane/tsconfig": "^6.1.0",
Expand Down

0 comments on commit e9d2932

Please sign in to comment.