Skip to content

Commit

Permalink
create single script for prettier+linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Sep 27, 2024
1 parent d1c6f96 commit 9ec72f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Run code checks
run: pnpm checks
run: pnpm code:checks
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"prettier:fix": "prettier --write .",
"lint:check": "pnpm -r lint:check",
"lint:fix": "pnpm -r lint:fix",
"code:checks": "pnpm lint:check ; pnpm lint:check",
"code:fixes": "pnpm prettier:fix && pnpm lint:fix",
"postinstall": "pnpm --filter cloudflare build",
"install-playwright": "playwright install --with-deps",
"e2e": "pnpm -r e2e",
Expand Down

0 comments on commit 9ec72f9

Please sign in to comment.