refactor: change CI caching to before_script

This commit is contained in:
Rainer Killinger
2020-10-30 15:24:22 +01:00
parent ef47d1085a
commit 49ff960616

View File

@@ -720,12 +720,7 @@ export function getRules(configuration: Configuration): Rules {
const ciConfig = {
/* tslint:disable:object-literal-sort-keys */
image: 'registry.gitlab.com/openstapps/projectmanagement/node',
cache: {
key: '${CI_COMMIT_REF_SLUG}',
paths: [
'node_modules',
],
},
before_script: 'npm ci',
build: {
stage: 'build',
script: [