Commit 188a5fd7 by ~Luiserebii~ Committed by Francisco Giordano

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.
parent 2836b066
...@@ -53,8 +53,7 @@ jobs: ...@@ -53,8 +53,7 @@ jobs:
name: Unit tests name: Unit tests
command: npm run test command: npm run test
coverage: coverage:
docker: <<: *defaults
- image: circleci/node:8
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
...@@ -80,3 +79,4 @@ workflows: ...@@ -80,3 +79,4 @@ workflows:
- coverage: - coverage:
requires: requires:
- dependencies - dependencies
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment