From 326824eaeb86fff57c08fcab9d37483e71dbd501 Mon Sep 17 00:00:00 2001 From: Alissa Cheng <cheng@astron.nl> Date: Tue, 5 Dec 2023 16:28:23 +0100 Subject: [PATCH] ci: disable prepare script for release step --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 499e1eb..c4f7477 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,8 +61,13 @@ build_package: semantic_release: stage: release needs: [build_package] + interruptible: false + before_script: + - npm pkg delete scripts.prepare + - apt-get update && apt-get install -y git + - node --version + - npm ci script: - - npm ci --ignore-scripts - echo "@astron-sdc:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc - echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc - npx semantic-release@22 -- GitLab