diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..abd238f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +image: node:lts + +cache: + paths: + - frontend/node_modules + +before_script: + - cd frontend && npm install + - cd - + +stages: + - lint + - test + +FrontendLint: + stage: lint + script: + - cd frontend && npm run lint + allow_failure: true + +FrontendTest: + stage: test + script: + - ls -lah + - cd frontend && npm test