Skip to content

Commit

Permalink
Add coverage token, fix step for circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vmurin committed Mar 15, 2018
1 parent 13ef6e0 commit 2799682
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
- v1-dependencies-

- run:
- name: Install npm dependencies
- command: yarn install
name: Install npm dependencies
command: yarn install

- save_cache:
paths:
- ./node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run:
- name: Run tests!
- command: yarn install
name: Run tests!
command: yarn test:ci


1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build/

out/
package-lock.json
coverage/

# Logs
logs
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/index.js",
"scripts": {
"test": "jest",
"test:ci": "jest --coverage && codecov",
"test:ci": "jest --coverage && codecov -t ${CODECOV_TOKEN}",
"jsdoc:generate": "jsdoc --configure .jsdoc.json --verbose",
"release:clean": "node scripts/cleanup.js",
"preversion": "node scripts/prepare.js",
Expand Down

0 comments on commit 2799682

Please sign in to comment.