No known key found for this signature in database
GPG Key ID: 6D1B91F131F89577
2 changed files with
22 additions and
0 deletions
-
.github/workflows/commitlint.yml
-
commitlint.config.js
|
|
@@ -0,0 +1,21 @@ |
|
|
|
name: Commit lint |
|
|
|
|
|
|
|
on: [push] |
|
|
|
|
|
|
|
jobs: |
|
|
|
build: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- name: Use Node.js |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
with: |
|
|
|
node-version: 13.x |
|
|
|
- name: setup |
|
|
|
run: | |
|
|
|
npm install -g @commitlint/cli @commitlint/config-conventional |
|
|
|
- name: commitlint |
|
|
|
run: | |
|
|
|
git log --format=%B -n 1 $GITHUB_SHA | commitlint |
|
|
|
|
|
|
@@ -0,0 +1 @@ |
|
|
|
module.exports = {extends: ['@commitlint/config-conventional']} |