Skip to content

feat: enhance auto-scroll behavior with user interaction detection fo… #11

feat: enhance auto-scroll behavior with user interaction detection fo…

feat: enhance auto-scroll behavior with user interaction detection fo… #11

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 44, Col: 1): 'name' is already defined, (Line: 46, Col: 1): 'on' is already defined, (Line: 52, Col: 1): 'jobs' is already defined
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