Skip to content

Commit

Permalink
ci: add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ginsburg committed Mar 4, 2022
1 parent 2194427 commit 80ada9f
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 385 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
cache: npm
- uses: browser-actions/setup-chrome@latest
- run: npm ci
- run: |
npm run commitlint -- \
--verbose \
--from `git merge-base origin/master $GITHUB_SHA`
- run: npm run lint
- run: npm run test
windows:
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-angular'] }
Loading

0 comments on commit 80ada9f

Please sign in to comment.