Skip to content

Commit 1b825c4

Browse files
committed
ci: Add semanticrelease dry-run step
1 parent 9a8439f commit 1b825c4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ jobs:
3535
- vendor
3636
- run: ./vendor/bin/phpunit --coverage-text
3737

38+
release-dry-run:
39+
docker:
40+
- image: circleci/node:9
41+
steps:
42+
- checkout
43+
- run: yarn global add --prefer-offline --no-progress --non-interactive "semantic-release@15.5.0" "@semantic-release/exec@2.2.4"
44+
- run: $(yarn global bin)/semantic-release --dry-run
45+
3846
release:
3947
docker:
4048
- image: circleci/node:9
@@ -49,6 +57,7 @@ workflows:
4957
jobs:
5058
- test-7.1
5159
- test-7.2
60+
- release-dry-run
5261
- hold:
5362
type: approval
5463
requires:

0 commit comments

Comments
 (0)