diff --git a/.circleci/config.yml b/.circleci/config.yml index b749b02..548d4b8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,9 @@ workflows: lint: jobs: - prep-deps + - test-build: + requires: + - prep-deps - test-lint: requires: - prep-deps @@ -12,6 +15,7 @@ workflows: - prep-deps - all-tests-pass: requires: + - test-build - test-lint - test-unit @@ -35,6 +39,17 @@ jobs: - node_modules - build-artifacts + test-build: + docker: + - image: circleci/node:10 + steps: + - checkout + - attach_workspace: + at: . + - run: + name: Build project + command: yarn build + test-lint: docker: - image: circleci/node:10