Skip to content

Commit

Permalink
build: update pipeline to also do formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jun 23, 2024
1 parent 68718f6 commit 40e2588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.24
bun-version: 1.1.12
- run: bun install
- run: bun lint
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"postbuild": "next-sitemap",
"build": "next build",
"dev": "next dev --turbo",
"lint": "next lint",
"start": "next start",
"format": "prettier --write ."
"lint": "next lint && prettier --write .",
"start": "next start"
},
"lint-staged": {
"*.{js,ts,tsx}": [
Expand Down

0 comments on commit 40e2588

Please sign in to comment.