Merge branch 'teste-bloqueio' of https://gitea.each-cs.com/pm/website-secure into teste-bloqueio
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Successful in 36s
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Successful in 36s
This commit is contained in:
@@ -49,7 +49,8 @@ jobs:
|
||||
-Dsonar.exclusions=**/node_modules/** \
|
||||
-Dsonar.host.url=https://sonar.each-cs.com \
|
||||
-Dsonar.token=${{ secrets.SONAR_TOKEN }} \
|
||||
-Dsonar.qualitygate.wait=true
|
||||
-Dsonar.qualitygate.wait=true \
|
||||
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
|
||||
|
||||
# ==========================================
|
||||
# DYNAMIC SECURITY ANALYSIS & DEPLOYMENT
|
||||
|
||||
@@ -4,6 +4,11 @@ const path = require('node:path');
|
||||
const nodemailer = require('nodemailer');
|
||||
|
||||
const app = express();
|
||||
|
||||
|
||||
app.disable('x-powered-by');
|
||||
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
app.use(cors());
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
"test": "jest --coverage --coverageReporters=lcovonly"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user