Skip to content

Commit 7b80ee9

Browse files
committed
Add CI workflow for Bun to run tests
1 parent 36bb202 commit 7b80ee9

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/bun.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI on bun
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Bun
17+
uses: oven-sh/setup-bun@v1
18+
19+
- name: Install dependencies
20+
run: bun add -d mocha && bun install
21+
22+
- name: Run tests
23+
run: bun run mocha

0 commit comments

Comments
 (0)