name: Node CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: 10.x
      - name: Install
        run: yarn install
      - name: Next.js Build
        run: yarn build
      - name: ESLint
        run: yarn lint
      - name: Jest
        env:
          CI: true
        run: yarn jest
      - name: Check Format
        run: yarn check-format

name: Node CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: 12.x
      - name: Install
        run: yarn install
      - name: Next.js Build
        run: yarn build
      - name: ESLint
        run: yarn lint
      - name: Jest
        env:
          CI: true
        run: yarn jest
      - name: Check Format
        run: yarn check-format

Use version 12.x for testing
Use version 12.x for testing
