name: Node.js CI

on: [push]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: setup
      uses: actions/setup-node@v1
      with:
        node-version: 14.x

    - name: install
      run: yarn install --frozen-lockfile

    - name: build
      run: yarn build

    - name: test
      run: yarn test
      env:
        CI: true

name: Node.js CI

on: [push]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: setup
      uses: actions/setup-node@v2
      with:
        node-version: 14.x

    - name: install
      run: yarn install --frozen-lockfile

    - name: build
      run: yarn build

    - name: test
      run: yarn test
      env:
        CI: true

Update actions/setup-node action to v2
Update actions/setup-node action to v2
