fix nodemodules build;

This commit is contained in:
Marco Zeisler 2021-05-11 23:57:56 +02:00
parent 5a6f5deb59
commit 5af6c35b24

View File

@ -28,10 +28,10 @@ build_fe:
cache: cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths: paths:
- node_modules/ - frontend/node_modules/
only: # only:
changes: # changes:
- frontend/package-lock.json # - frontend/package-lock.json
extends: extends:
- .build - .build
@ -68,7 +68,7 @@ lint_fe:
cache: cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths: paths:
- node_modules/ - frontend/node_modules/
policy: pull policy: pull
#lint_be: #lint_be:
@ -93,7 +93,7 @@ test_fe:
cache: cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths: paths:
- node_modules/ - frontend/node_modules/
policy: pull policy: pull
extends: extends:
- .test - .test