File tree Expand file tree Collapse file tree 10 files changed +1169
-170
lines changed Expand file tree Collapse file tree 10 files changed +1169
-170
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,18 @@ jobs:
20
20
node-version : ${{ matrix.node }}
21
21
22
22
- name : 🛠️ Set up Bun.sh
23
- uses : oven-sh/setup-bun@v1
23
+ uses : oven-sh/setup-bun@v2
24
24
with :
25
25
bun-version : latest
26
26
27
- - name : 📦 Install Node.js dependencies
27
+ - name : 📦 Install Node.js dependencies with Node.js
28
28
run : npm ci
29
29
30
- - name : 🏗️ Build project
30
+ - name : 📦 Install Node.js dependencies with Bun
31
+ run : bun install --frozen-lockfile
32
+
33
+ - name : 🏗️ Build project with Node.js
31
34
run : npm run build
35
+
36
+ - name : 🏗️ Build project with Bun
37
+ run : bun run build
Original file line number Diff line number Diff line change @@ -20,13 +20,16 @@ jobs:
20
20
node-version : ${{ matrix.node }}
21
21
22
22
- name : 🛠️ Set up Bun.sh
23
- uses : oven-sh/setup-bun@v1
23
+ uses : oven-sh/setup-bun@v2
24
24
with :
25
25
bun-version : latest
26
26
27
- - name : 📦 Install Node.js dependencies
27
+ - name : 📦 Install Node.js dependencies with Node.js
28
28
run : npm ci
29
29
30
+ - name : 📦 Install Node.js dependencies with Bun
31
+ run : bun install --frozen-lockfile
32
+
30
33
- name : 🏗️ 📝 Build Project Documentation
31
- run : npm run docs
34
+ run : bun run docs
32
35
# Need to run dependency-version-badge and edit the readme file here as well.
Original file line number Diff line number Diff line change @@ -22,10 +22,18 @@ jobs:
22
22
with :
23
23
node-version : ${{ matrix.node }}
24
24
25
+ - name : 🛠️ Set up Bun.sh
26
+ uses : oven-sh/setup-bun@v2
27
+ with :
28
+ bun-version : latest
29
+
25
30
# ESLint and Prettier must be in `package.json`
26
- - name : 📦 Install Node.js dependencies
31
+ - name : 📦 Install Node.js dependencies with Node.js
27
32
run : npm ci
28
33
34
+ - name : 📦 Install Node.js dependencies with Bun
35
+ run : bun install --frozen-lockfile
36
+
29
37
- name : 🧹 🎨 Run linters and formatting
30
38
uses : wearerequired/lint-action@v2
31
39
with :
Original file line number Diff line number Diff line change @@ -23,15 +23,26 @@ jobs:
23
23
uses : actions/setup-node@v4
24
24
with :
25
25
node-version : ${{ matrix.node }}
26
+
27
+ - name : 🛠️ Set up Bun.sh
28
+ uses : oven-sh/setup-bun@v2
29
+ with :
30
+ bun-version : latest
26
31
27
32
- name : 📦 Install Node.js dependencies
28
33
run : npm ci
29
34
35
+ - name : 📦 Install Node.js dependencies with Bun
36
+ run : bun install --frozen-lockfile
37
+
30
38
# CHANGE/ADD/SETUP YOUR ADDITIONAL TEST COMMANDS AND TEST ACTIONS BELOW HERE:
31
39
32
40
- name : 🧪 📊 Test and coverage
33
41
run : npm run test
34
42
43
+ - name : 🧪 📊 Test and coverage with Bun
44
+ run : bun run test
45
+
35
46
- name : 📤 📊 Upload coverage reports to Codecov
36
47
uses : codecov/codecov-action@v4.5.0
37
48
with :
Original file line number Diff line number Diff line change 5
5
" bento" ,
6
6
" cacache" ,
7
7
" commitlint" ,
8
+ " compat" ,
8
9
" debendabot" ,
9
10
" depcheckrc" ,
10
11
" esdoc" ,
13
14
" iname" ,
14
15
" modclean" ,
15
16
" oxlint" ,
17
+ " quickfix" ,
16
18
" shieldio" ,
17
19
" snyk" ,
18
20
" upgradeps"
You can’t perform that action at this time.
0 commit comments