0.0.19 • Published 2 years ago

@acot/acot-reporter-github v0.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@acot/acot-reporter-github

GitHub reporter for @acot/cli.

Screenshot

Examples

Installation

Install via npm:

$ npm install --save @acot/acot-reporter-github

Prerequisites

There are a few necessary setups for integrating acot with GitHub.

  1. Install the acot-a11y GitHub App in the repository where you want to use GitHub integration.
  2. Generate a token for GitHub integration from the token manager application.

Usage

module.exports = {
  reporters: [
    {
      use: '@acot/github',
      with: {
        token: '...',
      },
    },
  ],
};

Pass the token as an environment variable

If you pass a token to the ACOT_GITHUB_APP_TOKEN environment variable, the GitHub reporter will automatically resolve the token for you. It is one technique to avoid writing the token directly into the configuration file.

module.exports = {
  reporters: ['@acot/github'],
};

Enabling debug logging

If you need logging other than errors, enabling the debug option will help.

module.exports = {
  reporters: [
    {
      use: '@acot/github',
      with: {
        debug: true,
      },
    },
  ],
};
0.0.19

2 years ago

0.0.17-canary.3

2 years ago

0.0.17-canary.0

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.17-canary.2

2 years ago

0.0.18

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.14-canary.2

2 years ago

0.0.14-canary.1

2 years ago

0.0.14-canary.0

2 years ago