diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64ef2df9..556b274c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ before_script: stages: - build - test + - publish - deploy build: @@ -26,7 +27,7 @@ package: - build tags: - secrecy - stage: deploy + stage: publish script: - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc - npm publish @@ -72,7 +73,7 @@ docker: before_script: [] dependencies: - build - stage: deploy + stage: publish variables: DOCKER_DRIVER: overlay2 services: