mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-18 04:06:19 +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
|
||||
- node_modules
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- publish
|
||||
|
||||
build:
|
||||
before_script:
|
||||
- npm install
|
||||
stage: build
|
||||
script:
|
||||
- npm run build
|
||||
@@ -39,6 +38,9 @@ test:
|
||||
publish:
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||
stage: publish
|
||||
dependencies:
|
||||
- test
|
||||
- build
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user