Skip to content

Commit f26d822

Browse files
author
Milos Danilov
committedOct 11, 2022
ci(gitlab-ci): add needs to speed-up pipeline
1 parent 0cffaf3 commit f26d822

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎.gitlab-ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ test:e2e:
8282
<<: *setup_cache
8383
dependencies:
8484
- build
85+
needs:
86+
- build
8587
script:
8688
- *install_deps
8789
- GOOGLE_CHROME_VERSION=$(google-chrome --version | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/')
@@ -96,6 +98,8 @@ internal-publish:
9698
- if: '$CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME'
9799
dependencies:
98100
- build
101+
needs:
102+
- build
99103
script:
100104
- npm config set registry $NEXUS3_NPM_REGISTRY
101105
- infinity npm publish dist
@@ -110,6 +114,9 @@ release-tag:
110114
dependencies:
111115
- build
112116
- test:e2e
117+
needs:
118+
- build
119+
- test:e2e
113120
script:
114121
# we create temporary folder to hold newly cloned project
115122
- PROJECT_CLONE=$(mktemp -d)

0 commit comments

Comments
 (0)
Please sign in to comment.