Repository navigation
fix(tui): guest 验证码 SDK 报错不再终止 TUI #73
Workflow file for this run
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 | |
| # Triggered on every PR (any target) and on every push to master so direct | |
| # commits are gated too. Required status checks (Settings → Branches → | |
| # Branch protection rules) make CI failures block merge. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| # Cancel superseded runs on the same ref — keeps PR feedback fast and saves | |
| # CI minutes when a PR is force-pushed repeatedly. | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Type check & tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| # PINNED: a floating "latest" silently drifted the release runtime | |
| # away from local dev (v4.5.2 exe = Bun 1.4.0 keep-alive timer | |
| # semantics local 1.3.14 never exercised — see AGENTS.md #37). | |
| # Bump deliberately, together with local dev environments. | |
| bun-version: "1.4.0" | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Type check | |
| run: bun x tsc --noEmit | |
| - name: Run tests | |
| run: bun test |