Skip to content

Commit

Permalink
build: commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik authored and mightyiam committed Jul 29, 2023
1 parent 7d01bbc commit 9c5219c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ jobs:
- name: 'Install dependencies'
run: 'npm install'

- uses: wagoid/commitlint-github-action@v5

- name: 'Run tests'
run: 'npm test'
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-conventional'] }
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"node": ">=12.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/eslint": "^8.4.1",
"@types/tape": "^4.13.2",
"eslint": "^8.13.0",
Expand Down

0 comments on commit 9c5219c

Please sign in to comment.