name: Node.js CI

on: [push]

jobs:
  lint:
    name: Lint and Test
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [16.x]

    steps:
      - uses: actions/checkout@v2
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install dependencies
        run: yarn install
      - name: Check formatting
        run: yarn format:check
      - name: Lint
        run: yarn lint
      - name: Test
        run: yarn test

name: Node.js CI

on: [push]

jobs:
  lint:
    name: Lint and Test
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [16.x, 17.x]

    steps:
      - uses: actions/checkout@v2
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install dependencies
        run: yarn install
      - name: Check formatting
        run: yarn format:check
      - name: Lint
        run: yarn lint
      - name: Test
        run: yarn test

Test module using Node.js 16 and 17
Test module using Node.js 16 and 17
