build: update dependencies and adjust configuration

This commit is contained in:
Karl-Philipp Wulfert
2019-04-17 15:55:39 +02:00
parent ad99e45ee3
commit 6628bdfd20
6 changed files with 169 additions and 88 deletions

View File

@@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- lib
- node_modules
stages:
@@ -11,7 +10,7 @@ stages:
- test
- deploy
build:npm:
npm:
tags:
- docker
stage: build
@@ -21,7 +20,7 @@ build:npm:
except:
- schedules
build:docker-builder:
docker-builder:
image: registry.gitlab.com/openstapps/projectmanagement/builder
stage: build
only:
@@ -38,7 +37,7 @@ build:docker-builder:
tags:
- docker
build:docker-node:
docker-node:
image: registry.gitlab.com/openstapps/projectmanagement/builder
stage: build
only:
@@ -55,6 +54,21 @@ build:docker-node:
tags:
- docker
audit:
allow_failure: true
except:
- schedules
script:
- npm audit
stage: test
scheduled-audit:
only:
- schedules
script:
- npm audit
stage: test
pages:
stage: deploy
script: