Skip to content

fix: add on scroll events prevention #5

fix: add on scroll events prevention

fix: add on scroll events prevention #5

name: DoomScroller CI
on:
push:
branches:
- "**"
paths:
- "packages/doom-scroller/**"
- ".changeset/**"
jobs:
test-and-build:
name: Test and Build DoomScroller
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/doom-scroller
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
working-directory: .
- name: Run lint & tests
run: pnpm lint && pnpm test
- name: Build package
run: pnpm build