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
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
image: node:latest
include: include:
- project: 'general/templates' - project: 'general/templates'
file: '/cicd/SAST-nodejs.gitlab-ci.yml' file: '/cicd/SAST-nodejs.gitlab-ci.yml'
...@@ -9,18 +11,16 @@ include: ...@@ -9,18 +11,16 @@ 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:
- node_modules/ - node_modules/
- docs/ - docs/
- dist/
stages: stages:
- build - build
- test - test
- quality
- publish - publish
build: build:
...@@ -43,6 +43,4 @@ test: ...@@ -43,6 +43,4 @@ test:
publish: publish:
stage: publish stage: publish
script: script:
- npm config set strict-ssl false - npm publish
- npm config set //${NPM_REGISTRY}/:_authToken ${NPM_TOKEN}
- npm publish --registry $NPM_REGISTRY
...@@ -2,3 +2,9 @@ src/ ...@@ -2,3 +2,9 @@ src/
docs/ docs/
examples/ examples/
.gitlab-ci.yml .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 @@ ...@@ -19,6 +19,9 @@
"prometheus" "prometheus"
], ],
"author": "Dominik Sigmund <dominik.sigmund@br.de>", "author": "Dominik Sigmund <dominik.sigmund@br.de>",
"publishConfig": {
"@general:registry":"https://gitlab.br.de/api/v4/projects/8/packages/npm/"
},
"license": "Unlicense", "license": "Unlicense",
"dependencies": { "dependencies": {
"express": "^4.17.1", "express": "^4.17.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment