chore(bench): fix token cap, warm re-parse, and query column labels #16
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: Release | |
| # Conventional-Commit-driven releases, fully in CI. On every push to `main`, | |
| # semantic-release inspects the commits since the last release and, when they | |
| # warrant one (feat → minor, fix → patch, `!`/BREAKING → major): | |
| # - runs the full gate (typecheck / test / reproducible bundle), | |
| # - computes the next version, syncs it across package.json / src/types.ts, | |
| # rebuilds the bundle (scripts/sync-version.mjs + pnpm build), | |
| # - commits the bump back to `main` as `chore(release): <v> [skip ci]`, | |
| # - tags `v<version>` and creates the GitHub release with auto notes. | |
| # Consumers pin these tags: their sync-engine scripts fetch | |
| # scripts/engine.mjs + scripts/engine.d.mts at a tag and verify ENGINE_VERSION. | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Gate — typecheck / test / reproducible bundle | |
| run: | | |
| pnpm run typecheck | |
| pnpm test | |
| pnpm run check:build | |
| - name: Release (semantic-release) | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: pnpm exec semantic-release |