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
......@@ -9,8 +9,6 @@ include:
variables:
SONAR_PROJECT_KEY: metrics
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_REGISTRY: https://npm.br-edv.brnet.int
NPM_TOKEN: 5w2Gy80rdH+2Tch0afNI6Q==
cache:
paths:
......@@ -44,5 +42,5 @@ publish:
stage: publish
script:
- npm config set strict-ssl false
- npm config set //${NPM_REGISTRY}/:_authToken ${NPM_TOKEN}
- npm publish --registry $NPM_REGISTRY
- echo "//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}">.npmrc
- npm publish
{
"name": "@plastdev/metrics",
"name": "@general/metrics",
"version": "1.1.1",
"description": "A small express middleware to get base metrics for any node.js app",
"main": "dist/index.js",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment