image: registry.gitlab.com/openstapps/projectmanagement/node stages: - test - deploy cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules audit: allow_failure: true except: - schedules script: - npm audit stage: test scheduled-audit: only: - schedules script: - npm audit stage: test pages: artifacts: paths: - public only: - /^v[0-9]+\.[0-9]+\.[0-9]+$/ script: - npm run documentation - mv docs public stage: deploy