0.6.1 • Published 3 months ago

@code-pushup/portal-client v0.6.1

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

Code PushUp portal client

Type definitions and client for uploading report to portal.

Setup

npm install @code-pushup/portal-client

Usage

Upload report to portal

import { uploadToPortal } from '@code-pushup/portal-client';

// ...

const report = await uploadToPortal({
  server: '<GRAPHQL URL>',
  apiKey: process.env.CODE_PUSHUP_API_KEY,
  data: {
    organization: '<ORGANIZATION SLUG>',
    project: '<PROJECT SLUG>',
    commit: '<COMMIT SHA>',
    plugins: [
      // ...
    ],
    categories: [
      // ...
    ],
    // ...
  },
});
0.6.1

3 months ago

0.6.0

3 months ago

0.5.0

3 months ago

0.4.1

3 months ago

0.4.0

4 months ago

0.3.0

4 months ago

0.2.0

4 months ago

0.1.2

7 months ago

0.1.1

8 months ago

0.1.0

8 months ago