mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 01:20:23 +03:00
chore: add commitlint
This commit is contained in:
parent
a6bbac52fe
commit
a529a8d858
19
.github/workflows/commitlint.yml
vendored
Normal file
19
.github/workflows/commitlint.yml
vendored
Normal 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
3283
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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": [
|
||||
|
Loading…
Reference in New Issue
Block a user