name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node: [22]
    name: Node ${{ matrix.node }}
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: ${{ matrix.node }}
      - uses: pnpm/action-setup@v3

      - name: Install Dependencies
        run: pnpm install

      - name: Install Playwright
        run: pnpm exec playwright install

      - name: Lint
        run: pnpm lint

      - name: Test
        run: pnpm test