Skip to content

Commit

Permalink
💚 ++
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 2, 2023
1 parent ae7f750 commit ac71ced
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ jobs:
- uses: bluefireteam/melos-action@v2
with:
run-bootstrap: false
- uses: dart pub get
- run: melos run github-ci
14 changes: 7 additions & 7 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ command:

scripts:
github-ci:
run: melos format && melos analyze && melos dryRun && melos test
run: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && melos format && melos analyze && melos dryRun && melos test || exit 0

format:
exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart format --set-exit-if-changed . || exit 0
exec: dart format --set-exit-if-changed .

analyze:
run: melos run analyze:dart && melos run analyze:flutter

analyze:dart:
run: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart analyze --fatal-infos || exit 0
exec: dart analyze --fatal-infos
packageFilters:
flutter: false

analyze:flutter:
exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && flutter analyze --fatal-infos || exit 0
exec: flutter analyze --fatal-infos
packageFilters:
flutter: true

dryRun:
exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart pub publish --dry-run || exit 0
exec: dart pub publish --dry-run
packageFilters:
private: false

Expand All @@ -46,13 +46,13 @@ scripts:
melos run test:flutter --no-select
test:dart:
exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart test --chain-stack-traces --platform=vm,chrome,firefox || exit 0
exec: dart test --chain-stack-traces --platform=vm,chrome,firefox
packageFilters:
flutter: false
dirExists: 'test'

test:flutter:
exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && flutter test || exit 0
exec: flutter test
packageFilters:
flutter: true
dirExists: 'test'

0 comments on commit ac71ced

Please sign in to comment.