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 4
4
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
5
6
6
version : 2
7
+ enable-beta-ecosystems : true
7
8
updates :
8
9
- package-ecosystem : " github-actions"
9
10
directory : " /"
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
# See https://stackoverflow.com/a/73624365/16109047
10
- build-and-deploy :
10
+ build :
11
11
runs-on : ubuntu-latest
12
12
if : github.repository == 'jsdocs-io/web' && github.ref == 'refs/heads/main'
13
13
steps :
14
14
- name : Checkout repository
15
15
uses : actions/checkout@v4
16
16
17
17
- 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
24
19
25
20
- name : Setup Node
26
21
uses : actions/setup-node@v4
27
22
with :
28
23
node-version : lts/*
29
- cache : " pnpm"
30
24
31
25
- name : Install dependencies
32
- run : pnpm install --frozen-lockfile
26
+ run : bun install --frozen-lockfile
33
27
34
28
- name : Lint
35
- run : pnpm lint
29
+ run : bun run lint
36
30
37
31
- name : Test
38
- run : pnpm test:ci
32
+ run : bun run test:ci
39
33
40
34
- name : Build
41
- run : pnpm build
35
+ run : bun run build
42
36
43
37
- name : CodeCov
44
- uses : codecov/codecov-action@v4.1.0
38
+ uses : codecov/codecov-action@v5.4.2
45
39
with :
46
40
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,32 +13,26 @@ jobs:
13
13
uses : actions/checkout@v4
14
14
15
15
- 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
22
17
23
18
- name : Setup Node
24
19
uses : actions/setup-node@v4
25
20
with :
26
21
node-version : lts/*
27
- cache : " pnpm"
28
22
29
23
- name : Install dependencies
30
- run : pnpm install --frozen-lockfile
24
+ run : bun install --frozen-lockfile
31
25
32
26
- name : Lint
33
- run : pnpm lint
27
+ run : bun run lint
34
28
35
29
- name : Test
36
- run : pnpm test:ci
30
+ run : bun run test:ci
37
31
38
32
- name : Build
39
- run : pnpm build
33
+ run : bun run build
40
34
41
35
- name : CodeCov
42
- uses : codecov/codecov-action@v4.1.0
36
+ uses : codecov/codecov-action@v5.4.2
43
37
with :
44
38
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
node_modules
3
- /dist
3
+ dist
4
+ coverage
4
5
.env
5
6
.env. *
6
7
! .env.example
7
8
8
- # Ignore files for PNPM, NPM and YARN
9
+ # Ignore lock files
9
10
pnpm-lock.yaml
10
11
package-lock.json
11
12
yarn.lock
13
+ bun.lock
12
14
13
15
# Ignore old code
14
16
/old
Original file line number Diff line number Diff line change 114
114
" reinink" ,
115
115
" requiredtype" ,
116
116
" returntypetype" ,
117
+ " rollup" ,
117
118
" scandir" ,
118
119
" scibona" ,
119
120
" semrush" ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 14
14
"format" : " prettier --write ." ,
15
15
"test" : " vitest" ,
16
16
"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"
18
18
},
19
19
"dependencies" : {
20
20
"@astrojs/alpinejs" : " ^0.4.5" ,
69
69
"typescript" : " ^5.8.3" ,
70
70
"unplugin-icons" : " ^22.1.0" ,
71
71
"vitest" : " ^3.1.1"
72
- },
73
- "pnpm" : {
74
- "overrides" : {
75
- "@microsoft/tsdoc" : " ^0.15.1"
76
- }
77
72
}
78
73
}
You can’t perform that action at this time.
0 commit comments