feat: attachSource, the delivery layer without the control bar (#1) #4
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # No `version:` here on purpose. action-setup refuses outright when a | |
| # version is given AND package.json has `packageManager`, which it does; | |
| # that field is the single source of truth for the pnpm version. | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Format | |
| run: pnpm lint | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Test | |
| run: pnpm test | |
| # The build is a gate, not a by-product: `dts` resolves the whole public | |
| # surface, so a type that only breaks for a consumer breaks here. | |
| - name: Build | |
| run: pnpm build |