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.
This commit is contained in:
~Luiserebii~
2019-08-23 05:39:31 -04:00
committed by Francisco Giordano
parent 2836b066c9
commit 188a5fd700

View File

@ -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