Skip to content

Commit cb157c8

Browse files
committed
ci: enhance testing workflow with additional environments for Node, Bun, and Deno
1 parent 59c6d26 commit cb157c8

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
test:
10+
test-node:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
@@ -25,3 +25,22 @@ jobs:
2525
- run: pnpm audit
2626
- run: ./bin/run --version
2727
- run: ./bin/run --help
28+
29+
test-bun:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: oven-sh/setup-bun@v2
34+
- run: bun install --frozen-lockfile
35+
- run: bun run build
36+
- run: bun test
37+
38+
test-deno:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: denoland/setup-deno@v2
43+
with:
44+
deno-version: v2.x
45+
- run: deno check src/mod.ts
46+
- run: deno check src/cli.ts

0 commit comments

Comments
 (0)