Skip to content

Commit 983e44f

Browse files
committed
chore: set up commit lint
1 parent 7c226d6 commit 983e44f

File tree

5 files changed

+1059
-115
lines changed

5 files changed

+1059
-115
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
permissions:
1111
contents: read # for checkout
1212

13+
env:
14+
HUSKY: 0
15+
1316
jobs:
1417
release:
1518
name: Release

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx commitlint --edit ${1}

commitlint.config.ts

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

0 commit comments

Comments
 (0)