stages: - publish variables: BUILD_IMAGE: "node:14" FF_USE_FASTZIP: "true" ARTIFACT_COMPRESSION_LEVEL: fast CACHE_COMPRESSION_LEVEL: fast TRANSFER_METER_FREQUENCY: 5s publish: stage: publish image: $BUILD_IMAGE variables: CI: "true" NPM_TOKEN: $NPM_TOKEN script: - touch .npmrc - echo "registry=https://registry.npmjs.org/" > .npmrc - echo "//registry.npmjs.org/:always-auth=true" >> .npmrc - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc - npm publish - curl https://npmmirror.com/sync/create-kqinfo-app tags: - kq-front-test only: - /^v.*$/