grafana / github-datasource

Grafana data source plugin using the Github API to retrieve and visualize Github data.
https://grafana.com/grafana/plugins/grafana-github-datasource/
Apache License 2.0
227 stars 54 forks source link

Chore: Move e2e from cypress to playwright #307

Closed zoltanbedi closed 1 month ago

zoltanbedi commented 2 months ago

This PR does a lot of things but mainly moves our e2e tests from cypress to playwright.

It adds the CI GitHub workflow that you get when you create a new data source with create-plugin. I did some modifications there to resolve the node version based on the nvmrc file and resolve the go version based on go.mod.

I removed our lint workflow as now that is baked in the CI step.

Had to bump "grafanaDependency": ">=9.1.0", because it turned out that the plugin breaks in older grafana versions. See https://github.com/grafana/github-datasource/issues/312

The best part is that I was able to remove almost all the resolutions from package.json and our vulnerabilities are all gone.