From e3bec016f26596c0b5099775c4a9b17a394cab63 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Wed, 2 Dec 2020 09:43:02 +0100
Subject: [PATCH] Try npm (#36)

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b82e79d..90a0f986 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,10 +24,10 @@ 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
+#    - 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"
     - yarn install
     - npm whoami
-    - yarn run publish
+    - npm run publish
-- 
GitLab