Skip to content

Commit

Permalink
Do GitLab build in one stage (looks like should be faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jun 8, 2019
1 parent 1032ae5 commit 2d8b426
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
image: node:10

stages:
- build
- test

cache:
paths:
- node_modules/

install_dependencies:
stage: build
script:
- yarn
artifacts:
paths:
- node_modules/

run_tests:
stage: test
script:
- yarn
- yarn test

0 comments on commit 2d8b426

Please sign in to comment.