Skip to content

packtracker/github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Configuration

Secrets (Required)

Environment variables (Optional)

  • 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)

Workflow

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"
  }
}