name: CI

on: [push, pull_request]

jobs:
  tests:
    name: Tests and validations
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [macos-latest, windows-latest, ubuntu-latest]
        node: [12, 13, 14, 15, 16]

    steps:
      - name: Git checkout
        uses: actions/checkout@v3

      - name: Use Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node }}

      - name: Install dependencies
        run: npm install

      - name: Run tests
        run: npm run test

      - name: Run coverage report
        uses: codecov/codecov-action@v3

      - name: Run validations
        run: npm run lint

name: CI

on: [push, pull_request]

jobs:
  tests:
    name: Tests and validations
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [macos-latest, windows-latest, ubuntu-latest]
        node: [12, 13, 14, 15, 16, 17, 18]

    steps:
      - name: Git checkout
        uses: actions/checkout@v3

      - name: Use Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node }}

      - name: Install dependencies
        run: npm install

      - name: Run tests
        run: npm run test

      - name: Run coverage report
        uses: codecov/codecov-action@v3

      - name: Run validations
        run: npm run lint

Add node 17 and 18 to test matrix in github actions
Add node 17 and 18 to test matrix in github actions
