Skip to content

Commit

Permalink
Fix directory for .npmrc and add reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Mackenzie Turner committed Oct 9, 2018
1 parent 8bdbb7f commit f662647
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- ./node_modules
- run: npm run lint
- run: npm test
- store_test_results:
path: ./reports/junit
- store_artifacts:
path: ./reports/junit

deploy:
docker:
Expand All @@ -34,8 +38,8 @@ jobs:
key: dependencies-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run: npm publish
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/project/.npmrc
- run: npm publish --verbose

workflows:
version: 2
Expand Down

0 comments on commit f662647

Please sign in to comment.