Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

commentator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commentator

Creates a comment on a pull request

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Commentator

Greenkeeper badge A simple pull-request (PR) comentator for travis.

Usage

Edit your travis.yml with the message you'd like to comment your PR with.

    language: node_js
    cache:
      directories:
        - node_modules
    notifications:
      email: false
    node_js:
      - '7'
    before_install:
+     - npm i -g commentator
    before_script:
      - npm prune
+     - npm run coverage | commentator
    after_success:
      - npm run semantic-release
    branches:
      except:
        - /^v\d+\.\d+\.\d+$/

Everytime now when travis runs the above npm run coverage script it will comment the results on the PR.

FAQs

Package last updated on 20 Mar 2018

Did you know?

Socket

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