feat(highlight-stream): add virtualize prop for windowed rendering #961
Workflow file for this run
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
| on: | |
| pull_request: | |
| paths-ignore: | |
| - "**.md" | |
| - "www/**" | |
| - "examples/**" | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - "**.md" | |
| - "www/**" | |
| - "examples/**" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 | |
| - run: bun ci | |
| - run: bunx biome ci --error-on-warnings | |
| unit-tests: | |
| needs: [lint] | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 | |
| - name: Install dependencies | |
| run: bun ci | |
| - name: Build library | |
| run: bun build:lib | |
| - name: Run unit tests | |
| run: bun test:unit | |
| - name: Run typecheck | |
| run: bun test:types | |
| e2e-tests: | |
| needs: [lint] | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 | |
| - name: Install dependencies | |
| run: bun ci | |
| - name: Cache Playwright browsers | |
| id: playwright-cache | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 | |
| with: | |
| path: ~/Library/Caches/ms-playwright | |
| key: ${{ runner.os }}-playwright-${{ hashFiles('node_modules/@playwright/test/package.json') }} | |
| - name: Install Playwright browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: bunx playwright install --with-deps chromium firefox webkit | |
| - name: Install Playwright OS dependencies | |
| if: steps.playwright-cache.outputs.cache-hit == 'true' | |
| run: bunx playwright install-deps chromium firefox webkit | |
| - name: Build library | |
| run: bun build:lib | |
| - name: Run e2e tests | |
| run: bun test:e2e |