Skip to content

Fix Laggy Map Dragging on Mobile with Dark Mode Enabled #40

Fix Laggy Map Dragging on Mobile with Dark Mode Enabled

Fix Laggy Map Dragging on Mobile with Dark Mode Enabled #40

Workflow file for this run

name: Test and Build
env:
NEXT_PUBLIC_VERCEL_URL: http://localhost:3000
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.17, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Check code style
run: pnpm run lint
- name: Run unit tests
run: pnpm test
- name: Build project
run: pnpm run build
e2e:
needs: build
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm run build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30