diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 58ba46e..02951d2 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -28,6 +28,9 @@ jobs: - name: Bootstrap workspace run: fvm flutter pub global run melos bootstrap + - name: CodeGen + run: fvm flutter pub global run melos run codegen + - name: Analyze all packages run: fvm flutter pub global run melos run analyze diff --git a/examples/client_app/pubspec.lock b/examples/client_app/pubspec.lock index 43c8489..02b6015 100644 --- a/examples/client_app/pubspec.lock +++ b/examples/client_app/pubspec.lock @@ -28,17 +28,19 @@ packages: cherrypick: dependency: "direct main" description: - path: "../../cherrypick" - relative: true - source: path - version: "2.1.0-dev.1" + name: cherrypick + sha256: e1e2b4f3a70cbe7760e479e6ddb7dce2fc85a1bbb2fba6c398efe235ed111dfe + url: "https://pub.dev" + source: hosted + version: "2.0.2" cherrypick_flutter: dependency: "direct main" description: - path: "../../cherrypick_flutter" - relative: true - source: path - version: "1.1.1-dev.1" + name: cherrypick_flutter + sha256: ad63ae816b7d1147ffb0a82bcae5a1ea3d51e9d398a79459c619464391a43a79 + url: "https://pub.dev" + source: hosted + version: "1.1.1" clock: dependency: transitive description: diff --git a/melos.yaml b/melos.yaml index ca0d3d3..bd3a823 100644 --- a/melos.yaml +++ b/melos.yaml @@ -16,4 +16,9 @@ scripts: exec: dart format test: - exec: flutter test \ No newline at end of file + exec: flutter test + + codegen: + run: | + melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs +