Skip to content

Commit 30072dc

Browse files
committed
ci: run 'ci-after-success' on pull requests to publish coverage
1 parent faee9cf commit 30072dc

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

codefresh.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
version: '1.0'
22

33
indicators:
4-
- common_release_conditions: &common_release_conditions
4+
- x-common_pull_request_conditions: &common_pull_request_conditions
5+
when:
6+
branch:
7+
ignore:
8+
- master
9+
- next
10+
11+
- x-common_release_conditions: &common_release_conditions
512
when:
613
branch:
714
only:
@@ -29,6 +36,12 @@ steps:
2936
image: node:12.18.2-alpine
3037
commands:
3138
- yarn validate
39+
coverage:
40+
<<: *common_pull_request_conditions
41+
stage: build
42+
image: node:12.18.2-alpine
43+
commands:
44+
- yarn ci-after-success
3245
releaser:
3346
<<: *common_release_conditions
3447
stage: release

0 commit comments

Comments
 (0)