@elastic/github-checks-reporter
Task wrapper that provides expressive CI feedback via GitHub checks
Last updated 21 days ago by mattkime .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @elastic/github-checks-reporter 
SYNC missed versions from official npm registry.

github-checks-reporter

Task wrapper that provides expressive CI feedback via GitHub checks

Usage

yarn run github-checks-reporter ${task title} ${...command and command args}

example

yarn run github-checks-reporter jest node scripts/jest

Setup

yarn add --dev github-xyz (package name will be updated)

github-checks-reporter relies on a number of environment variables in order to call the GitHub API -

Value Default environment variable
appKey GITHUB_CHECKS_REPORTER_KEY
repoSlug ghprbGhRepository
commitSha ghprbActualCommit
buildUrl BUILD_URL

Different environment variables can be used via the github_checks_api.json config file located in the project root.

Example -

{
  "appId": 26774,
  "envVars": {
    "appKey": "KIBANA_CI_REPORTER_KEY"
  }
}

How it works

github-checks-reporter takes a task title and a shell command and its arguments and:

  • Creates a check via the GitHub checks API
  • Executes the command
  • Stores and passes along log data and exit code
  • Updates the check based on the exit code, appending log data to the check

Current Tags

  • 0.0.20-b3                                ...           latest (21 days ago)

37 Versions

  • 0.0.20-b3                                ...           21 days ago
  • 0.0.20-b2                                ...           21 days ago
  • 0.0.20-b1                                ...           21 days ago
  • 0.0.19                                ...           a month ago
  • 0.0.18                                ...           a month ago
  • 0.0.17                                ...           a month ago
  • 0.0.16                                ...           a month ago
  • 0.0.16-beta-4                                ...           a month ago
  • 0.0.16-beta-3                                ...           a month ago
  • 0.0.16-beta-2                                ...           a month ago
  • 0.0.16-beta-1                                ...           a month ago
  • 0.0.15                                ...           2 months ago
  • 0.0.14                                ...           2 months ago
  • 0.0.14-beta1                                ...           2 months ago
  • 0.0.13                                ...           2 months ago
  • 0.0.13-beta1                                ...           2 months ago
  • 0.0.12                                ...           2 months ago
  • 0.0.12-beta1                                ...           2 months ago
  • 0.0.11                                ...           2 months ago
  • 0.0.11-beta6                                ...           2 months ago
  • 0.0.11-beta5                                ...           2 months ago
  • 0.0.11-beta4                                ...           2 months ago
  • 0.0.11-beta3                                ...           3 months ago
  • 0.0.11-beta2                                ...           3 months ago
  • 0.0.11-beta1                                ...           3 months ago
  • 0.0.10                                ...           3 months ago
  • 0.0.10-beta1                                ...           3 months ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.8-beta-1                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           3 months ago
  • 0.0.5                                ...           3 months ago
  • 0.0.4                                ...           3 months ago
  • 0.0.3                                ...           3 months ago
  • 0.0.2                                ...           3 months ago
  • 0.0.1                                ...           3 months ago

Copyright 2014 - 2016 © taobao.org |