From 7b68785689ff54a545f066044595c91bf7c58312 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Thu, 15 Dec 2022 18:26:41 +0800
Subject: [PATCH] fix .gitlab-ci.yml

---
 .gitlab-ci.yml | 9 ++-------
 Makefile       | 4 ++--
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ff1f9f8..4af5b58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,10 +15,5 @@ publish_npm:
       changes:
         - config/package.json
   script:
-    - 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
+    - cd ./perxis-proto/proto
+    - ls -a
\ No newline at end of file
diff --git a/Makefile b/Makefile
index c8ab5cf..61b6322 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 .PHONY: proto-js .FORCE
 SHELL = /bin/bash -o pipefail
 
-PROTODIR=./perxis-proto/proto
-DSTDIR=./config/dist
+PROTODIR=perxis-proto/proto
+DSTDIR=config/dist
 
 ALLPROTO?=$(shell find $(PROTODIR) -name '*.proto' )
 PROTOFILES=	$(filter-out proto/status/status.proto, $(ALLPROTO))
-- 
GitLab