added npm install

This commit is contained in:
Marco Zeisler
2021-05-11 23:53:43 +02:00
parent 9d4e27bac7
commit 5a6f5deb59
+2 -1
View File
@@ -60,6 +60,7 @@ build_be:
lint_fe: lint_fe:
script: script:
- cd ./frontend - cd ./frontend
- npm install
- npm run -- ng lint - npm run -- ng lint
extends: extends:
- .lint - .lint
@@ -87,7 +88,7 @@ lint_fe:
test_fe: test_fe:
script: script:
- cd ./frontend - cd ./frontend
- npm update - npm install
- npm run -- ng test - npm run -- ng test
cache: cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR