feat: enhance auto-scroll behavior with user interaction detection fo… #11
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 ] | ||
| jobs: | ||
| test: | ||
| name: Typecheck & Tests | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node: [18, 20] | ||
| env: | ||
| CI: true | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
| cache: 'pnpm' | ||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v2 | ||
| with: | ||
| version: 10.18.1 | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Typecheck | ||
| run: pnpm run typecheck | ||
| - name: Run tests | ||
| run: pnpm test -- --run | ||
| - name: Run SSR check | ||
| run: pnpm run check:ssr | ||
| name: CI | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| jobs: | ||
| test: | ||
| name: Test + Typecheck | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: pnpm | ||
| - name: Install pnpm | ||
| run: corepack enable && corepack prepare pnpm@latest --activate | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Typecheck | ||
| run: pnpm run typecheck | ||
| - name: Run tests (including SSR import smoke test) | ||
| run: pnpm test -- --run | ||