From 381871828ff09f2990ed8fb4d07a55bced5df681 Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Sat, 24 Oct 2020 17:46:40 -0700 Subject: [PATCH] Update CI config --- .circleci/config.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 99c14412b4f..0c185e03622 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ workflows: build-test: jobs: - prep-deps - - test-build: + - prep-build: requires: - prep-deps - test-lint: @@ -12,13 +12,12 @@ workflows: - prep-deps - test-unit: requires: - - prep-deps + - prep-build - test-format: requires: - - prep-deps + - prep-build - all-tests-pass: requires: - - test-build - test-lint - test-unit - test-format @@ -43,7 +42,7 @@ jobs: - node_modules - build-artifacts - test-format: + prep-build: docker: - image: circleci/node:10 steps: @@ -51,10 +50,14 @@ jobs: - attach_workspace: at: . - run: - name: Format - command: yarn format + name: build + command: yarn build + - persist_to_workspace: + root: . + paths: + - dist - test-build: + test-format: docker: - image: circleci/node:10 steps: @@ -62,8 +65,8 @@ jobs: - attach_workspace: at: . - run: - name: Build project - command: yarn build + name: Format + command: yarn format test-lint: docker: