.npm-build: image: $NODE_IMAGE stage: build before_script: #Todo this needs Testing!! - > if [ "$CI_COMMIT_TAG" != "" ]; then npm --no-git-tag-version version from-git fi #Testing END script: - npm install - npm run build artifacts: expire_in: 2 weeks when: always paths: - "**/dist/"