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

merge

parents 1ecff50e 3b0f7efa
No related branches found
No related tags found
1 merge request!1Master to main
image: node:latest
include:
- project: 'general/templates'
file: '/cicd/SAST-nodejs.gitlab-ci.yml'
......@@ -9,18 +11,16 @@ include:
variables:
SONAR_PROJECT_KEY: metrics
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_REGISTRY: https://npm.br-edv.brnet.int
NPM_TOKEN: 5w2Gy80rdH+2Tch0afNI6Q==
cache:
paths:
- node_modules/
- docs/
- dist/
stages:
- build
- test
- quality
- publish
build:
......@@ -43,6 +43,4 @@ test:
publish:
stage: publish
script:
- npm config set strict-ssl false
- npm config set //${NPM_REGISTRY}/:_authToken ${NPM_TOKEN}
- npm publish --registry $NPM_REGISTRY
- npm publish
src/
docs/
examples/
.gitlab-ci.yml
\ No newline at end of file
.gitlab-ci.yml
.npmrc
.eslintrc.json
jest.config.js
stryker.conf.json
tsconfig-examples.json
tsconfig.json
.npmrc 0 → 100644
strict-ssl=false
@general:registry=https://gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
//gitlab.br.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}
//gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}
......@@ -19,6 +19,9 @@
"prometheus"
],
"author": "Dominik Sigmund <dominik.sigmund@br.de>",
"publishConfig": {
"@general:registry":"https://gitlab.br.de/api/v4/projects/8/packages/npm/"
},
"license": "Unlicense",
"dependencies": {
"express": "^4.17.1",
......
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