👷 deployment pipeline setup
This commit is contained in:
parent
bb3c9bccf2
commit
4f8228e699
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal 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
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "visua-vue",
|
"name": "@cellule-financiere-pmo/visua-vue",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user