From 111cf827157e37b2002b2690a3d7d6e8449291da Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Mon, 19 Dec 2022 16:32:08 +0800 Subject: [PATCH] fix --- .gitlab-ci.yml | 2 +- config/package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15c96d6..b0469d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ publish_npm: - apk add --update yarn rules: - - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + - if: $CI_PIPELINE_SOURCE == "merge_request_event"' changes: - config/package.json script: diff --git a/config/package.json b/config/package.json index 90c4abb..fa22dfe 100644 --- a/config/package.json +++ b/config/package.json @@ -13,6 +13,9 @@ "scripts": { "pub": "npm publish" }, + "dependencies": { + "protobufjs": "^6.11.3" + }, "author": "", "license": "ISC" } -- GitLab