ソースを参照

Merge pull request #14 from Deuchnord/commitlint

build: add commitlint configuration
tags/v0.2.3
Jérôme Deuchnord 4年前
committed by GitHub
コミット
33c0370e9f
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
2個のファイルの変更22行の追加0行の削除
  1. +21
    -0
      .github/workflows/commitlint.yml
  2. +1
    -0
      commitlint.config.js

+ 21
- 0
.github/workflows/commitlint.yml ファイルの表示

@@ -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


+ 1
- 0
commitlint.config.js ファイルの表示

@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}

読み込み中…
キャンセル
保存