diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b57a4f..426af9d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,8 +20,8 @@ jobs: - v1-dependencies- - run: - - name: Install npm dependencies - - command: yarn install + name: Install npm dependencies + command: yarn install - save_cache: paths: @@ -29,7 +29,7 @@ jobs: key: v1-dependencies-{{ checksum "package.json" }} - run: - - name: Run tests! - - command: yarn install + name: Run tests! + command: yarn test:ci diff --git a/.gitignore b/.gitignore index bd2101a..11582f3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ build/ out/ package-lock.json +coverage/ # Logs logs diff --git a/package.json b/package.json index d3ee355..cbca175 100644 --- a/package.json +++ b/package.json @@ -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",