diff --git a/circle.yml b/circle.yml index 44871c058..511b07caa 100644 --- a/circle.yml +++ b/circle.yml @@ -79,12 +79,27 @@ jobs: environment: NODE_ENV: test steps: + - checkout + - attach_workspace: + at: ~/coralproject/talk - run: name: Setup the database with defaults command: ./bin/cli setup --defaults - run: name: Run the integration tests command: yarn e2e:ci + deploy: + working_directory: ~/coralproject/talk + docker: + - image: circleci/node:8 + steps: + - checkout + - attach_workspace: + at: ~/coralproject/talk + # TODO: implement + - run: + name: Deploy the code + command: echo "Deployed!" workflows: version: 2 @@ -102,4 +117,10 @@ workflows: - npm_dependencies - test_integration: requires: - - build_assets \ No newline at end of file + - build_assets + # TODO: move to own workflow + - deploy: + requires: + - lint + - test_unit + - test_integration \ No newline at end of file