Skip to content

Commit fd0610b

Browse files
evilebottnawihiroppy
authored andcommitted
ci: npm audit and lint commit message (#1880)
1 parent d1c319c commit fd0610b

File tree

4 files changed

+777
-318
lines changed

4 files changed

+777
-318
lines changed

azure-pipelines.yml

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
displayName: 'Install dependencies'
2828
- script: npm run lint
2929
displayName: 'Run lint'
30+
- script: npm run security
31+
displayName: 'Run NPM audit'
32+
- script: ./node_modules/.bin/commitlint-azure-pipelines
33+
displayName: 'Run lint commit message'
3034

3135
- job: Linux
3236
pool:

commitlint.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: ['@commitlint/config-conventional'],
5+
};

0 commit comments

Comments
 (0)