docs: show both v3 and v3.1 API endpoints in reference docs #1120
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: Docs - TypeScript Code Validation | |
| on: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| typescript-check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./docs | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: '.bun-version' | |
| - name: Install dependencies | |
| run: bun install | |
| - name: TypeScript type check | |
| run: bun run types:check | |
| - name: Build (validates Twoslash TypeScript code blocks) | |
| run: bun run build |