Skip to content

Commit 80ada9f

Browse files
author
Jonathan Ginsburg
committed
ci: add commitlint
1 parent 2194427 commit 80ada9f

File tree

4 files changed

+558
-385
lines changed

4 files changed

+558
-385
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
cache: npm
2525
- uses: browser-actions/setup-chrome@latest
2626
- run: npm ci
27+
- run: |
28+
npm run commitlint -- \
29+
--verbose \
30+
--from `git merge-base origin/master $GITHUB_SHA`
2731
- run: npm run lint
2832
- run: npm run test
2933
windows:

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-angular'] }

0 commit comments

Comments
 (0)