---
name: "ci"

on:
  pull_request: {}
  push:
    branches:
      - "main"

jobs:
  linux:
    runs-on: "ubuntu-latest"

    strategy:
      matrix:
        node-version: ["14.x", "15.x", "16.x", "17.x", "18.x"]

    steps:
      - uses: "actions/checkout@v3"
      - uses: "pnpm/action-setup@v2.0.1"
        with:
          version: "latest"
      - name: "Use Node.js ${{ matrix.node-version }}"
        uses: "actions/setup-node@v1"
        with:
          node-version: "${{ matrix.node-version }}"
          cache: "pnpm"
      - run: "make install"
      - run: "make lint"
      - run: "make test"
      - run: "make build"

  windows:
    runs-on: "windows-latest"

    steps:
      - uses: "actions/checkout@v3"
      - uses: "pnpm/action-setup@v2.0.1"
        with:
          version: "latest"
      - uses: "actions/setup-node@v2"
        with:
          node-version-file: ".nvmrc"
          cache: "pnpm"
      - run: "make install"
      - run: "make lint"
      - run: "make test"
      - run: "make build"

---
name: "ci"

on:
  pull_request: {}
  push:
    branches:
      - "main"

jobs:
  linux:
    runs-on: "ubuntu-latest"

    strategy:
      matrix:
        node-version: ["14.x", "15.x", "16.x", "17.x", "18.x"]

    steps:
      - uses: "actions/checkout@v3"
      - uses: "pnpm/action-setup@v2.0.1"
        with:
          version: "latest"
      - name: "Use Node.js ${{ matrix.node-version }}"
        uses: "actions/setup-node@v1"
        with:
          node-version: "${{ matrix.node-version }}"
          cache: "pnpm"
      - run: "make install"
      - run: "make lint"
      - run: "make test"
      - run: "make build"

  windows:
    runs-on: "windows-latest"

    steps:
      - uses: "actions/checkout@v3"
      - uses: "pnpm/action-setup@v2.0.1"
        with:
          version: "latest"
      - uses: "actions/setup-node@v2"
        with:
          node-version-file: ".nvmrc"
          cache: "pnpm"
      - run: "make install"
      - run: "make lint"
      - run: "make build"

Disable tests in windows build for now
Disable tests in windows build for now
