Skip to content
Permalink
Browse files

build: add commitlint configuration

  • Loading branch information
Deuchnord committed Nov 20, 2019
1 parent f66cd91 commit 6ea3e04ba078978102a73c8f8dbbdd2b41e78e4a
Showing with 22 additions and 0 deletions.
  1. +21 −0 .github/workflows/commitlint.yml
  2. +1 −0 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']}

0 comments on commit 6ea3e04

Please sign in to comment.
You can’t perform that action at this time.