Skip to content

Commit

Permalink
Merge pull request #282 from standard/commitlint
Browse files Browse the repository at this point in the history
build: commitlint
  • Loading branch information
mightyiam committed Aug 12, 2023
2 parents 7d01bbc + 2e6d30a commit 6361936
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
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
@@ -0,0 +1 @@
module.exports = { extends: ['standard'] }
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -14,8 +14,11 @@
"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",
"commitlint-config-standard": "github:standard/commitlint-config-standard",
"eslint": "^8.13.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-n": "^16.0.0",
Expand Down

0 comments on commit 6361936

Please sign in to comment.