version: 2.1
workflows:
  version: 2.1
  test:
    jobs:
      - node-lts
      - node-current
      - node-min
jobs:
  node-lts: &node-template
    docker:
      - image: circleci/node:lts
    working_directory: ~/src
    steps:
      - checkout
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package.json" }}
          - v1-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}
      - run: npm run test
  node-current:
    <<: *node-template
    docker:
      - image: circleci/node:current
  node-min:
    <<: *node-template
    docker:
      - image: circleci/node:8.17.0
version: 2.1
workflows:
  version: 2.1
  test:
    jobs:
      - node-lts
      - node-current
      - node-min
jobs:
  node-lts: &node-template
    docker:
      - image: circleci/node:lts
    working_directory: ~/src
    steps:
      - checkout
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package.json" }}
          - v1-dependencies-
      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}
      - run: npm run test
  node-current:
    <<: *node-template
    docker:
      - image: circleci/node:current
  node-min:
    <<: *node-template
    docker:
      - image: circleci/node:10.0.0
Change circleci min to 10
Change circleci min to 10
