pull cache

This commit is contained in:
Marco Zeisler 2021-05-11 23:40:18 +02:00
parent 78283347b3
commit e5d4221a0a

View File

@ -29,6 +29,9 @@ build_fe:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths: paths:
- node_modules/ - node_modules/
only:
changes:
- frontend/package-lock.json
extends: extends:
- .build - .build
@ -57,7 +60,6 @@ build_be:
lint_fe: lint_fe:
script: script:
- cd ./frontend - cd ./frontend
- npm update
- ng lint - ng lint
extends: extends:
- .lint - .lint
@ -66,9 +68,7 @@ lint_fe:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths: paths:
- node_modules/ - node_modules/
policy: pull-push policy: pull
needs:
- build_fe
#lint_be: #lint_be:
# script: # script: