# Generated by create-nuxt-module
version: 2
jobs:
  build:
    docker:
      - image: circleci/node:10.14.0-browsers

    working_directory: ~/app

    steps:
      - checkout

      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "package.json" }}

      - run: yarn install

      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}

      - run: NODE_ENV=test yarn test:coverage
      - store_artifacts:
          path: ~/app/coverage/lcov-apprt/
