Skip to content

Commit 95587c9

Browse files
author
Cezar Sampaio
committed
build: fix asset for semantic-release and add commitlint
1 parent 582b4e0 commit 95587c9

File tree

5 files changed

+795
-3
lines changed

5 files changed

+795
-3
lines changed

.github/workflows/pull-request.yml

+13
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,16 @@ jobs:
4444
CONTENTFUL_PREVIEW_TOKEN: ${{ secrets.CONTENTFUL_PREVIEW_TOKEN }}
4545
URL: http://localhost:5000
4646
run: npm run build
47+
48+
commit:
49+
name: Commit Analyzer
50+
runs-on: ubuntu-latest
51+
52+
steps:
53+
- name: Clone Repo
54+
uses: actions/checkout@v2
55+
with:
56+
fetch-depth: 0
57+
58+
- name: Analyze commits
59+
uses: wagoid/commitlint-github-action@v1

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)