Skip to content

Debug for zoom extent #10

Debug for zoom extent

Debug for zoom extent #10

Workflow file for this run

name: CI
on:
push:
branches: ['**'] # Run on all branches
pull_request:
branches: ['**']
jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run lint
run: pnpm run lint
- name: Run typecheck
run: pnpm run typecheck
- name: Build library
run: pnpm run build
- name: Build demo
run: pnpm run build:demo
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
- name: Run E2E tests
run: pnpm test
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report-node-${{ matrix.node-version }}
path: playwright-report/
retention-days: 7