feat(stream): 直播流服务支持多 Provider 动态切换与房间级绑定 #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 构建检查:push / PR 时验证 monorepo 全部包可编译 | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # 版本取自根 package.json 的 packageManager 字段 | |
| - uses: pnpm/action-setup@v4 | |
| # pnpm 11 要求 Node >= 22.13 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: 安装依赖 | |
| run: pnpm install --frozen-lockfile | |
| - name: 构建全部包(shared / server / web / worker) | |
| run: pnpm build |