Skip to content

Commit 348d44e

Browse files
committed
test: add bun job to ci
1 parent 5489d2c commit 348d44e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,23 @@ jobs:
2121
with:
2222
license-check: true
2323
lint: true
24+
bun:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Install dependencies
28+
# The erraneous typod version `5.0.0-aplha` takes priority over .3 as 'p' > 'l'
29+
run: |
30+
bun i --ignore-scripts
31+
bun i -D --ignore-scripts fastify@5.0.0-alpha.3
32+
33+
- name: Run types check
34+
run: bun run typescript
35+
36+
- name: Run Jest tests
37+
run: bun run typescript:jest
38+
39+
- name: Run Vitest tests
40+
run: bun run typescript:vitest
41+
42+
- name: Run unit tests
43+
run: bun run unit:bun

0 commit comments

Comments
 (0)