File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build :
9+ name : Build
910 runs-on : ubuntu-latest
1011 steps :
1112 - name : Checkout repository
1213 uses : actions/checkout@v4
1314
14- - name : Setup pnpm
15- uses : pnpm/action- setup@v2
15+ - name : Setup Bun
16+ uses : oven-sh/ setup-bun @v2
1617 with :
17- version : 6.32.9
18-
19- - name : Setup Node.js with pnpm cache
20- uses : actions/setup-node@v4
21- with :
22- node-version : 18
23- cache : " pnpm"
18+ bun-version : latest
2419
2520 - name : Install dependencies
26- run : pnpm install
21+ run : bun install
2722
2823 - name : Type check project
2924 run : |
30- pnpm run type-build
31- pnpm run type-check
25+ bun run type-build
26+ bun run type-check
3227
3328 - name : Lint and check formatting
34- run : pnpm run check
29+ run : |
30+ bun run lint
31+ bun run check
3532
3633 - name : Build project
37- run : pnpm run build
34+ run : bun run build
Original file line number Diff line number Diff line change 306306 "vscode:prepublish" : " npm run prod" ,
307307 "lint" : " eslint ." ,
308308 "format" : " prettier --write ." ,
309- "format: check" : " prettier --check ." ,
309+ "check" : " prettier --check ." ,
310310 "type-build" : " tsc --build" ,
311311 "type-check" : " tsc --noEmit" ,
312312 "build-js" : " node ./esbuild.mjs" ,
You can’t perform that action at this time.
0 commit comments