diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be851c..1273278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: jobs: build: + name: "Node.js v${{ matrix.node-version }} and Deno v${{ matrix.deno-version }} Build" runs-on: ${{ matrix.os }} strategy: @@ -37,3 +38,32 @@ jobs: npm test env: CI: true + bun-build: + name: "Bun v${{ matrix.bun-version }} and Deno v${{ matrix.deno-version }} Build" + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest] + bun-version: [1.x] + deno-version: [1.x] + steps: + - uses: actions/checkout@v4 + + - name: Set up Bun ${{ matrix.bun-version }} + uses: oven-sh/setup-bun@v1 + with: + bun-version: ${{ matrix.bun-version }} + + - name: Set up Deno ${{ matrix.deno-version }} + uses: denoland/setup-deno@v1 + with: + deno-version: ${{ matrix.deno-version }} + + - name: bun install, build, and test + working-directory: packages/node + run: | + bun install + bun run --bun test + env: + CI: true