Skip to content

refactor: 从 Node.js 迁移到 bun #165

refactor: 从 Node.js 迁移到 bun

refactor: 从 Node.js 迁移到 bun #165

Workflow file for this run

name: 代码质量测试
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
unit-test:
name: 单元测试
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
with:
bun-version-file: .tool-versions
- run: bun i
- run: bun run test:unit
type-check:
name: 类型检查
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
with:
bun-version-file: .tool-versions
- run: bun i
- run: bun run test:types