File tree Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 3
3
on : push
4
4
5
5
jobs :
6
- eslint :
7
- name : ESLint
6
+ biome :
7
+ name : Lint and Format
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : actions/checkout@v4
14
14
node-version-file : ' .node-version'
15
15
cache : ' pnpm'
16
16
- run : pnpm install
17
- - run : pnpm lint:eslint
18
-
19
- prettier :
20
- name : Prettier
21
- runs-on : ubuntu-latest
22
- steps :
23
- - uses : actions/checkout@v4
24
- - uses : pnpm/action-setup@v2
25
- - uses : actions/setup-node@v3
26
- with :
27
- node-version-file : ' .node-version'
28
- cache : ' pnpm'
29
- - run : pnpm install
30
- - run : pnpm lint:prettier
17
+ - run : pnpm lint:biome
31
18
32
19
tsc :
33
20
name : Type Check
Original file line number Diff line number Diff line change 29
29
"scripts" : {
30
30
"build" : " tsup src/index.ts --format cjs,esm --dts" ,
31
31
"generate:example-api" : " openapi2aspida -i https://raw.githubusercontent.com/OAI/OpenAPI-Specification/3.1.0/examples/v3.0/petstore-expanded.yaml -o ./example/generated-api" ,
32
- "lint-and-format" : " biome check ." ,
32
+ "lint:biome" : " biome check ." ,
33
+ "lint:biome:ci" : " biome ci ." ,
33
34
"lint:tsc" : " tsc --noEmit" ,
34
35
"test" : " vitest" ,
35
36
"release" : " pnpm build && changeset publish"
You can’t perform that action at this time.
0 commit comments