refactor: gitlab ci template audit job

This commit is contained in:
Rainer Killinger
2022-08-23 11:34:02 +02:00
parent b97c0adc21
commit 8c9fdb4f24

View File

@@ -769,14 +769,7 @@ export function getRules(configuration: Configuration): Rules {
}, },
}, },
'npm audit': { 'npm audit': {
allow_failure: true, script: ['npm audit --production'],
except: ['schedules'],
script: ['npm audit'],
stage: 'audit',
},
'scheduled npm audit': {
only: ['schedules'],
script: ['npm audit --audit-level=high'],
stage: 'audit', stage: 'audit',
}, },
'npm package': { 'npm package': {