dart-code-metrics icon indicating copy to clipboard operation
dart-code-metrics copied to clipboard

[Question] How to use the github action in a project with multiple packages

Open pablobaldez opened this issue 3 years ago • 1 comments

I can use melos to handle multiple packages and generate html reports from metrics, but how to use the github action provided by you to check all project packages?

pablobaldez avatar Oct 27 '21 21:10 pablobaldez

@pablobaldez hi, check out how GetStream uses Dart Code Metrics with Melos https://github.com/GetStream/stream-chat-flutter/blob/develop/.github/workflows/dart_code_metrics.yaml

Unfortunately, we don't support package discoverability in the action, so you need to list all packages, but fixing it is on our roadmap.

incendial avatar Oct 28 '21 07:10 incendial

Closing this since there is no plans to improve the flow now. Please refer to the GetStream example for monorepo setup

incendial avatar Sep 14 '22 09:09 incendial