Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check

GitHub Action

Cosm-orc Gas Diff Github Action

v0.6.2 Pre-release

Cosm-orc Gas Diff Github Action

check

Cosm-orc Gas Diff Github Action

Github action that posts gas usage reports from cosm-orc as Github PR comments

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cosm-orc Gas Diff Github Action

uses: de-husk/[email protected]

Learn more about this action in de-husk/cosm-orc-gas-diff-action

Choose a version

Cosm-Orc Gas Diff Github Action

Github action that posts gas usage reports from cosm-orc as Github PR comments and a Github action job summary.

If repo_token does not have issues write access, then the Github PR comment will be skipped, however the Github action job summary will still be posted.

Usage

- uses: de-husk/cosm-orc-gas-diff-action@v1
  with:
    repo_token: ${{ secrets.GITHUB_TOKEN }}
    current_json: "./current.json"

Build

$ yarn
$ yarn run build

Package Prod Js Files

Actions are run from GitHub repos so we will checkin the packed dist folder.

Then run ncc and push the results:

$ yarn run build && yarn run package