👷 deployment pipeline setup

This commit is contained in:
Paul Valerie GOMA 2025-07-17 15:17:29 +02:00
parent bb3c9bccf2
commit 4f8228e699
2 changed files with 15 additions and 1 deletions

14
.gitlab-ci.yml Normal file
View File

@ -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

View File

@ -1,5 +1,5 @@
{
"name": "visua-vue",
"name": "@cellule-financiere-pmo/visua-vue",
"version": "0.0.0",
"private": true,
"type": "module",