File tree Expand file tree Collapse file tree 5 files changed +38
-3
lines changed Expand file tree Collapse file tree 5 files changed +38
-3
lines changed Original file line number Diff line number Diff line change
1
+ on : [push]
2
+ name : Format
3
+ jobs :
4
+ format :
5
+ name : Format
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v3
9
+ - uses : oven-sh/setup-bun@v1
10
+ - run : bun install
11
+ - run : bun run format:check
Original file line number Diff line number Diff line change
1
+ on : [push]
2
+ name : Test
3
+ jobs :
4
+ test :
5
+ name : Test
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v3
9
+ - uses : oven-sh/setup-bun@v1
10
+ - run : bun install
11
+ - run : bun run test
Original file line number Diff line number Diff line change
1
+ on : [push]
2
+ name : Typecheck
3
+ jobs :
4
+ typecheck :
5
+ name : Typecheck
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v3
9
+ - uses : oven-sh/setup-bun@v1
10
+ - run : bun install
11
+ - run : bun run typecheck
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ openapi-static-validator spec.json > validate.js
33
33
## Development
34
34
35
35
To publish the package:
36
- - Change version in ` package.json `
37
- - Commit the change and tag it
38
- - Run ` npm publish `
36
+
37
+ - Change version in ` package.json `
38
+ - Commit the change and tag it
39
+ - Run ` npm publish `
Original file line number Diff line number Diff line change 9
9
"test" : " bun test" ,
10
10
"test:update" : " bun test --update-snapshots" ,
11
11
"format" : " prettier ./ --ignore-unknown --write" ,
12
+ "format:check" : " prettier ./ --ignore-unknown --list-different" ,
12
13
"build" : " bun build ./src/cli.ts --compile --outfile ./dist/cli" ,
13
14
"typecheck" : " tsc --noEmit" ,
14
15
"prepublish" : " bun run build"
You can’t perform that action at this time.
0 commit comments