dart-code-metrics
dart-code-metrics copied to clipboard
[Question] How to use the github action in a project with multiple packages
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 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.
Closing this since there is no plans to improve the flow now. Please refer to the GetStream example for monorepo setup