mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
refactor: enforce changelog generation for tags
This commit is contained in:
@@ -735,8 +735,7 @@ export function getRules(configuration: Configuration): Rules {
|
||||
'changelog':
|
||||
"conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
'check-configuration': 'openstapps-configuration',
|
||||
'postversion': 'npm run changelog',
|
||||
'preversion': 'npm run prepublishOnly',
|
||||
'preversion': 'npm run prepublishOnly && npm run changelog',
|
||||
'push': 'git push && git push origin "v$npm_package_version"',
|
||||
'lint': 'eslint --ext .ts src/',
|
||||
};
|
||||
@@ -769,6 +768,13 @@ export function getRules(configuration: Configuration): Rules {
|
||||
},
|
||||
},
|
||||
'npm audit': {
|
||||
allow_failure: true,
|
||||
except: ['schedules'],
|
||||
script: ['npm audit --production'],
|
||||
stage: 'audit',
|
||||
},
|
||||
'scheduled npm audit': {
|
||||
only: ['schedules'],
|
||||
script: ['npm audit --production'],
|
||||
stage: 'audit',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user