From 1a5cac0d5f7da606d4bb7e2a870bd82bf516555e Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Wed, 14 Dec 2022 17:16:58 +0800
Subject: [PATCH] fix

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6834700..3cb1065 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,11 +14,11 @@ publish_npm:
         - clients/**/*
   script:
     - cd ./config
-    - ls
     - rsync -a --prune-empty-dirs --include '*/' --include '*.d.ts' --exclude '*' ../clients ./
     - rsync -a --prune-empty-dirs --include '*/' --include '*.d.ts.map' --exclude '*' ../clients ./
     - rsync -a --prune-empty-dirs --include '*/' --include '*.js' --exclude '*' ../clients ./
     - rsync -a --prune-empty-dirs --include '*/' --include '*.js.map' --exclude '*' ../clients ./
+    - ls
     - |
       if [[ ! -f .npmrc ]]; then
         echo 'No .npmrc found! Creating one now. Please review the following link for more information: https://docs.gitlab.com/ee/user/packages/npm_registry/index.html#project-level-npm-endpoint-1'
@@ -28,6 +28,7 @@ publish_npm:
           echo "${CI_API_V4_URL#http*:}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\${CI_JOB_TOKEN}"
         } >> .npmrc
       fi
+    - cat ./.npmrc
     - NPM_PACKAGE_NAME=$(node -p "require('./package.json').name")
     - NPM_PACKAGE_CURRENT_VERSION=$(npm show ${NPM_PACKAGE_NAME} version)
     - echo -E "$(jq --arg version $NPM_PACKAGE_CURRENT_VERSION '.version = $version' package.json)" > package.json
-- 
GitLab