docs: the release runbook, corrected by what the first release cost #43
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 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: node scripts/check-docs.mjs | |
| - run: pnpm build | |
| - run: pnpm typecheck | |
| - run: pnpm lint | |
| - run: pnpm test | |
| # Every `exports`/`bin` target exists in the built tree. A subpath nothing | |
| # in the repo imports compiles clean and 404s for the first consumer. | |
| - run: pnpm check:exports | |
| # The playgrounds render in a pipe, with no terminal at all. | |
| - run: pnpm dev gallery --static --width 100 --height 30 | |
| - run: pnpm dev charts --static --ascii --mono --width 100 |