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