File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 3636 - name : Add feed apiKey to env
3737 run : echo "apiKey="${{ secrets.APIKEY }}"" >> $GITHUB_ENV
3838
39- - run : dart pub global activate melos
39+ - name : Activate melos
40+ run : dart pub global activate melos
4041
4142 - name : Install dependencies
4243 run : melos bootstrap
5051 - name : Run tests
5152 run : melos run test
5253
54+ - name : Pub dry run
55+ if : github.ref == 'refs/heads/master'
56+ run : melos run dryrun
57+
5358 - name : Post Codecov report
5459 run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
60+
5561 -
uses :
VeryGoodOpenSource/[email protected] 5662 with :
5763 path : packages/stream_feed/coverage/lcov.info
Original file line number Diff line number Diff line change @@ -17,6 +17,14 @@ scripts:
1717 Run `dart analyze` in all packages.
1818 - Note: you can also rely on your IDEs Dart Analysis / Issues window.
1919
20+ dryrun :
21+ run : |
22+ melos exec -c 1 --no-private --ignore="*example*" -- \
23+ pub publish --dry-run
24+ description : |
25+ Run `pub publish --dry-run` in all packages.
26+ - Note: you can also rely on your IDEs Dart Analysis / Issues window.
27+
2028 generate :
2129 run : melos run generate:dart && melos run generate:flutter
2230 description : Build all generated files for Dart & Flutter packages in this project.
You can’t perform that action at this time.
0 commit comments