Socket
Socket
Sign inDemoInstall

codecov

Package Overview
Dependencies
30
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    codecov

Uploading report to Codecov: https://codecov.io


Version published
Weekly downloads
301K
decreased by-22.77%
Maintainers
5
Install size
1.72 MB
Created
Weekly downloads
 

Changelog

Source

3.8.3

Fixes

  • #329 fix: Test if response has two lines

Dependencies

  • #306 Bump eslint-config-prettier from 7.2.0 to 8.3.0
  • #305 Bump eslint from 7.21.0 to 7.25.0
  • #302 Bump mock-fs from 4.13.0 to 4.14.0
  • #308 Bump lodash from 4.17.19 to 4.17.21
  • #309 Bump ignore-walk from 3.0.3 to 3.0.4
  • #310 Bump hosted-git-info from 2.8.8 to 2.8.9
  • #325 Bump prettier from 2.2.1 to 2.3.2
  • #326 Bump actions/setup-node from 2.1.5 to 2.2.0
  • #328 Bump lint-staged from 10.5.4 to 11.0.1
  • #330 Bump eslint from 7.25.0 to 7.31.0
  • #331 Bump ws from 7.3.1 to 7.5.3
  • #332 Bump urlgrey from 0.4.4 to 1.0.0
  • #334 Bump husky from 6.0.0 to 7.0.1
  • #333 Bump teeny-request from 7.0.1 to 7.1.1

Readme

Source

Codecov NodeJS Uploader

codecov.io NPM version Build Status Build Status Dependency Status Dev Dependency Status FOSSA Status

Codecov.io support for node.js.

Installation:

Add the latest version of codecov to your package.json:

npm install codecov --save-dev

or

yarn add codecov --dev

Usage:

This script ( bin/codecov ) detect your CI provider and all coverage reports and uploads them to Codecov.

Once your app is instrumented for coverage, and building, simply call ./node_modules/.bin/codecov.

This library currently supports the following CI companies: Travis CI, Travis, Appveyor, CircleCI, Cirrus CI, Codeship, Drone, Jenkins, Shippable, Semaphore, Wercker, Snap CI, Buildkite, AWS CodeBuild.

Upload repo tokens

Repo tokens are not required for public repos tested on Travis-Org, CircleCI or AppVeyor.

Repo tokens are necessary to distinguish your repository from others. You can find your repo token on your repository page at Codecov. Set this unique uuid to CODECOV_TOKEN in your environment variables.

export CODECOV_TOKEN=":uuid-repo-token"
# or
./node_modules/.bin/codecov --token=:token
# or
./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/codecov --pipe
Istanbul

With Mocha:

istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec
./node_modules/.bin/codecov

With Jasmine:

istanbul cover jasmine-node --captureExceptions spec/
./node_modules/.bin/codecov

With Tape:

istanbul cover test.js
./node_modules/.bin/codecov

With NYC

nyc npm test
nyc report --reporter=lcov
./node_modules/.bin/codecov

Troubleshooting

If you're seeing an HTTP 400 error when uploading reports to S3, make sure you've updated to at least version 3.7.0.

License

FOSSA Status

Keywords

FAQs

Last updated on 19 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc