diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37e25843b5b671cd8e5ebfc818cf51ebedc8ac84..85365989e3e7bd47e97cee8e4b8b68e92a0f2c0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,6 @@ publish:
 #      - publish
   script:
     - 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"
     - yarn install
-    - npm run publish
+    - yarn run publish
diff --git a/packages/app-shell/.npmrc b/packages/app-shell/.npmrc
new file mode 100644
index 0000000000000000000000000000000000000000..bd3327ab5a9da7959388dab26528073f912af07e
--- /dev/null
+++ b/packages/app-shell/.npmrc
@@ -0,0 +1 @@
+//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file