mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
ci: only install dependencies for build job
This commit is contained in:
committed by
Rainer Killinger
parent
61c5ba6747
commit
9ded905fbd
@@ -6,15 +6,14 @@ cache:
|
|||||||
- lib
|
- lib
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
before_script:
|
|
||||||
- npm install
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
before_script:
|
||||||
|
- npm install
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
@@ -39,6 +38,9 @@ test:
|
|||||||
publish:
|
publish:
|
||||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||||
stage: publish
|
stage: publish
|
||||||
|
dependencies:
|
||||||
|
- test
|
||||||
|
- build
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
services:
|
services:
|
||||||
|
|||||||
Reference in New Issue
Block a user