From 4f8228e6993c486cbc1e0439e64f0f567d506c43 Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Thu, 17 Jul 2025 15:17:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20deployment=20pipeline=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 14 ++++++++++++++ package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..069fee5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +default: + image: node:latest + +stages: + - deploy + +publish-npm: + stage: deploy + script: + - echo "@cellule-financiere-pmo: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 + - npm publish + only: + - tags \ No newline at end of file diff --git a/package.json b/package.json index 85a746f..a76def3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "visua-vue", + "name": "@cellule-financiere-pmo/visua-vue", "version": "0.0.0", "private": true, "type": "module",