Skip to content
Snippets Groups Projects
Commit df9a5ee5 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

Update package.json, .gitlab-ci.yml files

parent 7fc43b6c
No related branches found
No related tags found
1 merge request!1Master to main
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -9,8 +9,6 @@ include: ...@@ -9,8 +9,6 @@ include:
variables: variables:
SONAR_PROJECT_KEY: metrics SONAR_PROJECT_KEY: metrics
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8 SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_REGISTRY: https://npm.br-edv.brnet.int
NPM_TOKEN: 5w2Gy80rdH+2Tch0afNI6Q==
cache: cache:
paths: paths:
...@@ -44,5 +42,5 @@ publish: ...@@ -44,5 +42,5 @@ publish:
stage: publish stage: publish
script: script:
- npm config set strict-ssl false - npm config set strict-ssl false
- npm config set //${NPM_REGISTRY}/:_authToken ${NPM_TOKEN} - echo "//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}">.npmrc
- npm publish --registry $NPM_REGISTRY - npm publish
{ {
"name": "@plastdev/metrics", "name": "@general/metrics",
"version": "1.1.1", "version": "1.1.1",
"description": "A small express middleware to get base metrics for any node.js app", "description": "A small express middleware to get base metrics for any node.js app",
"main": "dist/index.js", "main": "dist/index.js",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment