From 188a5fd7003fa9decec7be8d3dc107a578118a6f Mon Sep 17 00:00:00 2001 From: ~Luiserebii~ Date: Fri, 23 Aug 2019 05:39:31 -0400 Subject: [PATCH] Minor refactoring of the .circleci config.yaml (#1885) * Adding in "<<: *defaults" under "coverage" * Refactoring by capturing similar setup commands into single alias * Reverting changes, I am not certain exactly how to refactor these setup steps, but at least the &default refactor can be made. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 69084af79..31b9462ef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,8 +53,7 @@ jobs: name: Unit tests command: npm run test coverage: - docker: - - image: circleci/node:8 + <<: *defaults steps: - checkout - restore_cache: @@ -80,3 +79,4 @@ workflows: - coverage: requires: - dependencies +