changed working directory

This commit is contained in:
Darren Nelsen 2018-03-14 15:24:05 -04:00
parent 34e6089be9
commit 24eda77855
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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": {