From 5ba09a0cbc6ec150ae63bd3711c0a8f475be3fe1 Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Thu, 15 Dec 2022 18:54:02 +0800 Subject: [PATCH] fix .gitlab-ci.yml --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11cb3cb..95155d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,10 @@ publish_npm: changes: - config/package.json script: - - ls - - cd ./perxis-proto - - ls - - cd ./proto \ No newline at end of file + - npm install -g ts-proto@1.115.5 + - npm install -g typescript@4.7.4 + - make proto + - cd ./config + - NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version") + - yarn pub + - echo "Successfully published version ${NPM_PACKAGE_VERSION} to GitLab's NPM registry" \ No newline at end of file -- GitLab