这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Loading