Skip to content

Commit 150fafa

Browse files
committed
test: add bun job to ci
1 parent 5489d2c commit 150fafa

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,28 @@ jobs:
2121
with:
2222
license-check: true
2323
lint: true
24+
bun:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Setup Bun
30+
uses: oven-sh/setup-bun@v2
31+
32+
- name: Install dependencies
33+
# The erraneous typod version `5.0.0-aplha` takes priority over .3 as 'p' > 'l'
34+
run: |
35+
bun i --ignore-scripts
36+
bun i -D --ignore-scripts [email protected]
37+
38+
- name: Run types check
39+
run: bun run typescript
40+
41+
- name: Run Jest tests
42+
run: bun run typescript:jest
43+
44+
- name: Run Vitest tests
45+
run: bun run typescript:vitest
46+
47+
- name: Run unit tests
48+
run: bun run unit:bun

0 commit comments

Comments
 (0)