fix: enhance HTML escaping in markdown rendering #13
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 | |
| # Type-check, build, and run unit tests on every push and PR. Acts as the | |
| # quality gate so a broken change can't be merged or (via release.yml) shipped. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| # `npm install` (not `npm ci`): esbuild's per-platform optional deps make | |
| # a macOS-generated lockfile fail `npm ci` on Linux (EBADPLATFORM on the | |
| # foreign @esbuild/* binaries). `npm install` skips platform-mismatched | |
| # optionals, which is the behavior we want. | |
| - name: Install dependencies | |
| run: npm install --no-audit --no-fund | |
| - name: Type-check | |
| run: npm run typecheck | |
| - name: Unit tests | |
| run: npm test | |
| - name: Build | |
| run: npm run build |