Skip to content

Commit b9a6c0f

Browse files
committed
update CI
1 parent 1d2f63c commit b9a6c0f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,9 @@ jobs:
2222
- run: npm run type-check
2323

2424
style:
25-
name: Lint
25+
name: Biome
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v3
29-
# because npm install is slow
30-
- uses: oven-sh/setup-bun@v2
31-
- run: bun install --frozen-lockfile
32-
- run: bun run lint
33-
# skipping content because prettier can't format MDX
34-
- run: bunx prettier src --check
29+
- uses: biomejs/setup-biome@v2
30+
- run: biome check .

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
"private": true,
55
"description": "website2",
66
"author": "chelproc",
7-
"keywords": ["gatsby"],
7+
"keywords": [
8+
"gatsby"
9+
],
810
"scripts": {
911
"develop": "gatsby develop",
1012
"start": "gatsby develop",
1113
"build": "gatsby build",
1214
"serve": "gatsby serve",
1315
"clean": "gatsby clean",
14-
"check": "biome check .",
16+
"check": "biome check . --fix",
1517
"type-check": "tsc --noEmit"
1618
},
1719
"dependencies": {
@@ -51,5 +53,7 @@
5153
"tailwindcss": "^3.4.1",
5254
"typescript": "5.1.6"
5355
},
54-
"trustedDependencies": ["@biomejs/biome"]
55-
}
56+
"trustedDependencies": [
57+
"@biomejs/biome"
58+
]
59+
}

0 commit comments

Comments
 (0)