version: 2
jobs:
  build:
    docker:
      - image: circleci/node:6.11.1

    working_directory: ~/vox-parser

    steps:
      - checkout

      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package.json" }}
          - v1-dependencies-

      - run: yarn install

      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}
        
      - run: yarn test
version: 2
jobs:
  test-lts:
    docker:
      - image: circleci/node:6.11.1
    steps:
      - checkout
      - restore_cache:
          keys:
          - node-lts-dependencies-{{ checksum "package.json" }}
          - node-lts-dependencies-
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: node-lts-dependencies-{{ checksum "package.json" }}
      - run: yarn test
  
  test-latest:
    docker:
      - image: circleci/node:8.1.4
    steps:
      - checkout
      - restore_cache:
          keys:
          - node-latest-dependencies-{{ checksum "package.json" }}
          - node-latest-dependencies-
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: node-latest-dependencies-{{ checksum "package.json" }}
      - run: yarn test

workflows:
  version: 2
  node-lts:
    jobs:
      - test-lts
  node-latest:
    jobs:
      - test-latest
Add multiple environments to build
Add multiple environments to build
