GitHub Action

Upload your build stats to us via GitHub Action

Careful! GitHub Action support is an experimental feature and has not been fully released by GitHub, therefore expect some rough seas getting up and running.

By far the simplest way to send us your build stats is to utilize our GitHub Action.

You can set this up in GitHub Actions UI, or you can use the following workflow to get started quickly in your .github/main.workflow file.

workflow "" {
on = "push"
resolves = ["Report to"]
action "Report to" {
uses = "packtracker/github-action@2.0.1"
secrets = ["PT_PROJECT_TOKEN"]
env = {
"WEBPACK_CONFIG_PATH" = "./path/to/your/webpack.config.js"

Once you have this set up, you'll need to add your PT_PROJECT_TOKEN secret in the actions UI.

If you don't use GitHub, or don't yet have access to GitHub Actions, you can still use our webpack plugin to report your build stats to us. (psst... the GitHub Action uses the plugin under the covers 😄)