Skip to content

Commit

Permalink
ci(gitlab-ci): add needs to speed-up pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos Danilov committed Oct 11, 2022
1 parent 0cffaf3 commit f26d822
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ test:e2e:
<<: *setup_cache
dependencies:
- build
needs:
- build
script:
- *install_deps
- GOOGLE_CHROME_VERSION=$(google-chrome --version | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/')
Expand All @@ -96,6 +98,8 @@ internal-publish:
- if: '$CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME'
dependencies:
- build
needs:
- build
script:
- npm config set registry $NEXUS3_NPM_REGISTRY
- infinity npm publish dist
Expand All @@ -110,6 +114,9 @@ release-tag:
dependencies:
- build
- test:e2e
needs:
- build
- test:e2e
script:
# we create temporary folder to hold newly cloned project
- PROJECT_CLONE=$(mktemp -d)
Expand Down

0 comments on commit f26d822

Please sign in to comment.