From e4e9b51e7deeb66a54da14d1f5f3dc3f90f38072 Mon Sep 17 00:00:00 2001 From: mtyszczak Date: Thu, 4 Sep 2025 14:54:33 +0200 Subject: [PATCH] Fix publishing TS package to npm --- .gitlab-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7334b88..c038e61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,12 +60,8 @@ build: DIST_DIR: "$CI_PROJECT_DIR/dist" NPM_PACKAGE_SCOPE: "@hiveio" NPM_PACKAGE_NAME: "wax-spec-generator" - artifacts: - paths: - - "${DIST_DIR}/*.tgz" - - when: always - expire_in: 1 week + needs: + - job: lint build_wheel: stage: build @@ -84,6 +80,7 @@ deploy_dev_package: needs: - job: lint - job: build + artifacts: true deploy_production_public_npm: stage: deploy @@ -93,8 +90,9 @@ deploy_production_public_npm: NPM_PACKAGE_NAME: "wax-spec-generator" PACKAGE_TGZ_PATH: "${BUILT_PACKAGE_PATH}" needs: - - job: lint + - job: deploy_dev_package - job: build + artifacts: true deploy_wheel_to_gitlab: stage: deploy -- GitLab