diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfbd41d6..09f14605 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ stages: - test - deploy -build:build: +build: stage: build script: - npm install @@ -20,19 +20,28 @@ build:build: - lib expire_in: 1 week -test:audit: +audit: stage: test script: - - npm install - npm audit + allow_failure: true + except: + - schedules -test:mocha: +scheduled-audit: + stage: test + script: + - npm audit + only: + - schedules + +mocha: stage: test script: - npm install - npm test -deploy:pages: +pages: stage: deploy script: - npm install @@ -44,10 +53,10 @@ deploy:pages: paths: - public -deploy:image: +docker: image: registry.gitlab.com/openstapps/projectmanagement/builder:latest dependencies: - - build:build + - build stage: deploy variables: DOCKER_DRIVER: overlay2