chore: add commitlint

This commit is contained in:
Liz Mitchell 2023-01-03 14:16:38 -08:00
parent a6bbac52fe
commit a529a8d858
3 changed files with 3301 additions and 8 deletions

19
.github/workflows/commitlint.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: commitlint
on: [pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- run: npm ci
- run: 'echo "${PR_TITLE}" | npx commitlint'
env:
PR_TITLE: ${{ github.event.pull_request.title }}

3283
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,9 +39,11 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.3.0",
"@types/jasmine": "^4.0.3",
"@web/test-runner": "^0.15.0",
"@web/test-runner-playwright": "^0.9.0",
"commitlint": "^17.3.0",
"jasmine": "^4.5.0",
"sass": "^1.52.3",
"sass-true": "^6.1.0",
@ -49,6 +51,11 @@
"web-test-runner-jasmine": "^0.0.2",
"wireit": "^0.9.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"wireit": {
"build": {
"dependencies": [