This GitHub Action is deprecated and no-longer supported, please use our newest version.
GitHub Action to report webpack stats to packtracker.io
This GitHub action will upload your webpack build stats to the packtracker.io service.
PT_PROJECT_TOKEN
- your packtracker.io project token.
WEBPACK_CONFIG_PATH
- the relative path to your webpack configuration (if you have one)PT_PROJECT_ROOT
- the relative path to the directory of your project (containing your package.json file)
A sample workflow file might look something like this
workflow "packtracker.io" {
on = "push"
resolves = ["Report to packtracker.io"]
}
action "Report to packtracker.io" {
uses = "packtracker/github-action@2.1.0"
secrets = ["PT_PROJECT_TOKEN"]
env = {
"WEBPACK_CONFIG_PATH" = "./config/webpack/production.js"
"PT_PROJECT_ROOT" = "./path/to/subdirectory"
}
}