From 6bcc66ad83570b19b5bb87191f629a6e1b39d141 Mon Sep 17 00:00:00 2001 From: Trezy Date: Sat, 1 Dec 2018 12:14:32 -0600 Subject: [PATCH] ci: Switch back to containers Switching back to container because I have no idea how to fix the errors that came up without them. Additionally, I'm changing the working directory to `~/tmp` to see if that works better than the `~/app` folder. --- .circleci/config.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index add73c5..69abe1f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,19 @@ version: 2.1 +defaults: &defaults + docker: + - image: circleci/node + + working_directory: ~/tmp + + + + + jobs: checkout: + <<: *defaults + steps: - restore_cache: name: Restore Repository Cache @@ -25,6 +37,8 @@ jobs: - . install-dependencies: + <<: *defaults + steps: - attach_workspace: at: . @@ -51,6 +65,8 @@ jobs: - node_modules build: + <<: *defaults + steps: - attach_workspace: at: . @@ -87,6 +103,8 @@ jobs: - css # test: + # <<: *defaults + # steps: # - attach_workspace: # at: . @@ -100,6 +118,8 @@ jobs: # command: yarn test # coverage: + # <<: *defaults + # steps: # - attach_workspace: # at: . @@ -113,6 +133,8 @@ jobs: # command: yarn test-coverage release: + <<: *defaults + steps: - attach_workspace: at: .