diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ff320b0f8c700246b2ef499b61ac9a7f1599b83..90841a8a2b0c71f205bb25afe1418d21b05eabc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,22 @@ # The Docker image that will be used to build your app -image: node:lts +image: node:latest + +stages: + - test + - pages + # Functions that should be executed before the build script is run before_script: - - npm ci + - npm install - mkdir public + +lint-test-job: + stage: test + script: + - npm run lint + pages: + stage: pages script: - npm run docs:build - mv docs/.vuepress/dist/* public