Skip to content

Commit

Permalink
fix: Remove melos
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaudon committed May 23, 2024
1 parent 605cb3c commit 5f91d8f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 32 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,30 @@ jobs:
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
fetch-depth: 0
filters: |
dsfr:
- 'packages/dsfr.dart/**'
- name: 🐦 Install flutter
uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
- run: dart pub global activate melos
- run: melos run format_check_diff
- run: melos run analyze_diff
- run: melos run test_diff
- name: ✅ Check app (format, lint, tests)
run: |
cd app
dart format $(find . -name '*.dart' -not -name '*.g.dart') --set-exit-if-changed
flutter analyze --fatal-infos --fatal-warnings
flutter test --test-randomize-ordering-seed random
cd -
- name: ✅ Check dsfr (format, lint, tests)
if: steps.filter.outputs.dsfr == 'true'
run: |
cd packages/dsfr.dart
dart format $(find . -name '*.dart' -not -name '*.g.dart') --set-exit-if-changed
flutter analyze --fatal-infos --fatal-warnings
flutter test --test-randomize-ordering-seed random
cd -
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"files.exclude": {
"**/pubspec.lock": true,
"**/pubspec_overrides.yaml": true,
"**/.dart_tool/": true,
"**/.flutter-plugins-dependencies": true,
"**/.flutter-plugins": true,
Expand Down
17 changes: 0 additions & 17 deletions melos.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions packages/dsfr.dart/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@ dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
6 changes: 0 additions & 6 deletions pubspec.yaml

This file was deleted.

0 comments on commit 5f91d8f

Please sign in to comment.