version: 2.1

orbs:
  node: circleci/node@4.1

jobs:
  build-and-test:
    docker:
      - image: cimg/node:lts
    steps:
      - checkout
      - node/install-packages
      - run:
          name: Run tests (qunit)
          command: npm run test:cli
      - run:
          name: Run tests (mocha)
          command: npm run test:mocha

workflows:
  main:
    jobs:
      - build-and-test

version: 2.1

orbs:
  node: circleci/node@4.1

jobs:
  build-and-test:
    docker:
      - image: cimg/node:lts
    steps:
      - checkout
      - node/install-packages
      - run:
          name: Run tests (mocha)
          command: npm run test:mocha

workflows:
  main:
    jobs:
      - build-and-test

Remove step for qunit tests
[circleci] Remove step for qunit tests
