diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d685f1cbc2f8c2a74bba76047181ab8ca070e76..56e012011bd21c35dfb11e56d4d53db3e3deef00 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,7 @@ publish:
       - master
   script:
     - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
+    - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > packages/auth/.npmrc
     - sudo npm install --global can-npm-publish
     - yarn config set registry https://registry.npmjs.org/
     - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"