diff --git a/.circleci/config.yml b/.circleci/config.yml index a142a32..58236c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,19 @@ jobs: - run: name: Test command: yarn run test - + build: + executor: node + steps: + - checkout + - <<: *restore_cache + - <<: *install_node_modules + - run: + name: Build + command: yarn run build + - persist_to_workspace: + root: ./ + paths: + - public workflows: test_build_and_deploy: jobs: @@ -40,4 +52,7 @@ workflows: filters: branches: ignore: - - gh-pages \ No newline at end of file + - gh-pages + - build: + requires: + - test \ No newline at end of file