/plugin-workflows

A set of GitHub Action workflows for developing Grafana plugins

Apache License 2.0Apache-2.0

Plugin workflows for GitHub Actions

License PRs welcome!

This repository contains a set of workflows for building, testing, and releasing Grafana plugins.

These workflows require no modifications to use:

  • Create a .github/workflows directory in the root directory of your plugin
  • Add the workflows, e.g. .github/workflows/ci.yml.

Workflows

  • ci.yml: Build and test your plugin on every commit
  • release.yml: Create a GitHub release with the packaged plugin as a release asset. Requires that you create an encrypted secret for your GRAFANA_API_KEY.

Troubleshooting

error Command "sign" not found when running yarn sign

Add the following script to your package.json:

"scripts": {
  "sign": "grafana-toolkit plugin:sign"
}