mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
refactor: change CI caching to before_script
This commit is contained in:
@@ -720,12 +720,7 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
const ciConfig = {
|
const ciConfig = {
|
||||||
/* tslint:disable:object-literal-sort-keys */
|
/* tslint:disable:object-literal-sort-keys */
|
||||||
image: 'registry.gitlab.com/openstapps/projectmanagement/node',
|
image: 'registry.gitlab.com/openstapps/projectmanagement/node',
|
||||||
cache: {
|
before_script: 'npm ci',
|
||||||
key: '${CI_COMMIT_REF_SLUG}',
|
|
||||||
paths: [
|
|
||||||
'node_modules',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
build: {
|
build: {
|
||||||
stage: 'build',
|
stage: 'build',
|
||||||
script: [
|
script: [
|
||||||
|
|||||||
Reference in New Issue
Block a user