fix: add on scroll events prevention #5
This file contains 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: 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 |