Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 1.19 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.19 KB

Deprecated

Please take a look in plugin-tools repository for an up-to-date example: https://github.com/grafana/plugin-tools/tree/main/packages/create-plugin/templates/github/ci/.github/workflows

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