From 24eda77855482ef4325a04cbede93a51ec1fa521 Mon Sep 17 00:00:00 2001 From: Darren Nelsen Date: Wed, 14 Mar 2018 15:24:05 -0400 Subject: [PATCH] changed working directory --- .circleci/config.yml | 11 +++++------ package.json | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 52ba693..eebf66c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,23 +5,22 @@ jobs: build-and-test: docker: - image: circleci/node:9-browsers - working_directory: ~/insight/app + working_directory: ~/insight steps: - checkout + # Download and cache dependencies - restore_cache: keys: - dependency-cache-{{ checksum "package.json" }} - run: npm install - - run: npm run test:ci - save_cache: paths: - node_modules key: dependency-cache-{{ checksum "package.json" }} - - store_artifacts: - path: ./test - - store_test_results: - path: ./test + + # run tests + - run: npm run test:ci workflows: version: 2 diff --git a/package.json b/package.json index 14bc13a..00c175d 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "start": "run-s watch-app", "watch-app": "cd app && npm start", "test": "cd app && ng test --code-coverage", - "test:ci": "npm run test:ci" + "test:ci": "cd app && npm run test:ci" }, "dependencies": {}, "devDependencies": {