Skip to content

Commit b6787c1

Browse files
Add validation step to CI (publish dry-run)
1 parent 6ca0075 commit b6787c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- run: flutter test --coverage
7272
- run: bash <(curl -s https://codecov.io/bash)
7373
- run: dartanalyzer --options analysis_options.yaml --fatal-warnings lib
74+
- run: flutter pub publish --dry-run
7475

7576
ios_tests:
7677
macos:
@@ -130,7 +131,7 @@ workflows:
130131
context: cross-platform
131132
- android_tests
132133
- ios_tests
133-
- hold:
134+
- hold_release:
134135
type: approval
135136
requires:
136137
- flutter_tests
@@ -142,7 +143,7 @@ workflows:
142143
- release:
143144
context: cross-platform
144145
requires:
145-
- hold
146+
- hold_release
146147
filters:
147148
branches:
148149
only: master

0 commit comments

Comments
 (0)