Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 763 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 763 Bytes

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