File tree Expand file tree Collapse file tree 8 files changed +1767
-8115
lines changed Expand file tree Collapse file tree 8 files changed +1767
-8115
lines changed Original file line number Diff line number Diff line change 44# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
55
66version : 2
7+ enable-beta-ecosystems : true
78updates :
89 - package-ecosystem : " github-actions"
910 directory : " /"
Original file line number Diff line number Diff line change 77
88jobs :
99 # See https://stackoverflow.com/a/73624365/16109047
10- build-and-deploy :
10+ build :
1111 runs-on : ubuntu-latest
1212 if : github.repository == 'jsdocs-io/web' && github.ref == 'refs/heads/main'
1313 steps :
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616
1717 - name : Setup bun
18- uses : oven-sh/setup-bun@v1
19-
20- - name : Setup pnpm
21- uses : pnpm/action-setup@v3
22- with :
23- version : 9
18+ uses : oven-sh/setup-bun@v2
2419
2520 - name : Setup Node
2621 uses : actions/setup-node@v4
2722 with :
2823 node-version : lts/*
29- cache : " pnpm"
3024
3125 - name : Install dependencies
32- run : pnpm install --frozen-lockfile
26+ run : bun install --frozen-lockfile
3327
3428 - name : Lint
35- run : pnpm lint
29+ run : bun run lint
3630
3731 - name : Test
38- run : pnpm test:ci
32+ run : bun run test:ci
3933
4034 - name : Build
41- run : pnpm build
35+ run : bun run build
4236
4337 - name : CodeCov
44- uses : codecov/codecov-action@v4.1.0
38+ uses : codecov/codecov-action@v5.4.2
4539 with :
4640 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,32 +13,26 @@ jobs:
1313 uses : actions/checkout@v4
1414
1515 - name : Setup bun
16- uses : oven-sh/setup-bun@v1
17-
18- - name : Setup pnpm
19- uses : pnpm/action-setup@v3
20- with :
21- version : 9
16+ uses : oven-sh/setup-bun@v2
2217
2318 - name : Setup Node
2419 uses : actions/setup-node@v4
2520 with :
2621 node-version : lts/*
27- cache : " pnpm"
2822
2923 - name : Install dependencies
30- run : pnpm install --frozen-lockfile
24+ run : bun install --frozen-lockfile
3125
3226 - name : Lint
33- run : pnpm lint
27+ run : bun run lint
3428
3529 - name : Test
36- run : pnpm test:ci
30+ run : bun run test:ci
3731
3832 - name : Build
39- run : pnpm build
33+ run : bun run build
4034
4135 - name : CodeCov
42- uses : codecov/codecov-action@v4.1.0
36+ uses : codecov/codecov-action@v5.4.2
4337 with :
4438 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11.DS_Store
22node_modules
3- /dist
3+ dist
4+ coverage
45.env
56.env. *
67! .env.example
78
8- # Ignore files for PNPM, NPM and YARN
9+ # Ignore lock files
910pnpm-lock.yaml
1011package-lock.json
1112yarn.lock
13+ bun.lock
1214
1315# Ignore old code
1416/old
Original file line number Diff line number Diff line change 114114 " reinink" ,
115115 " requiredtype" ,
116116 " returntypetype" ,
117+ " rollup" ,
117118 " scandir" ,
118119 " scibona" ,
119120 " semrush" ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1414 "format" : " prettier --write ." ,
1515 "test" : " vitest" ,
1616 "test:ci" : " vitest run --coverage --bail 1" ,
17- "pre-push" : " pnpm i && pnpm lint && pnpm build && pnpm test:ci"
17+ "pre-push" : " bun --revision && bun i && bun run lint && bun run build && bun run test:ci"
1818 },
1919 "dependencies" : {
2020 "@astrojs/alpinejs" : " ^0.4.5" ,
6969 "typescript" : " ^5.8.3" ,
7070 "unplugin-icons" : " ^22.1.0" ,
7171 "vitest" : " ^3.1.1"
72- },
73- "pnpm" : {
74- "overrides" : {
75- "@microsoft/tsdoc" : " ^0.15.1"
76- }
7772 }
7873}
You can’t perform that action at this time.
0 commit comments