Fix markdown rendering issues and add lint:md to CI (#73) (#74) #231
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: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 'latest' | |
| - run: bun install | |
| - run: bun run check | |
| - run: bun run test | |
| # E2E tests are NOT run in CI — they require GPU/Vulkan to run transformers.js | |
| # models in WebGPU mode within a reasonable time budget, and GitHub Actions | |
| # Pro does not offer GPU-enabled runners. | |
| # | |
| # Run E2E tests locally before pushing: | |
| # bun run test:e2e:local (builds a Docker image with Mesa Vulkan + Playwright) | |
| # | |
| # See e2e/Dockerfile and e2e/run-local.sh for details. | |
| # The pre-push git hook runs this automatically. |