version: 2
jobs:
  build:
    docker:
      - image: circleci/node:8.11
      
    working_directory: ~/repo

    steps:
      - checkout

      - run: npm install

      - run: |
          npm test
          npm run coverage
