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