Skip to content

Commit 9a3e2b3

Browse files
committed
fix: release
1 parent a7cf737 commit 9a3e2b3

File tree

6 files changed

+35911
-17627
lines changed

6 files changed

+35911
-17627
lines changed

.commitlintrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
]
5+
}

.github/development-flow.png

27.7 KB
Loading

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: Build
22

33
on: push
44

.husky

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
BRANCH=$(git rev-parse --abbrev-ref HEAD)
5+
6+
if [ "$BRACH" = "main" ]
7+
then
8+
echo "committing directly to main is blocked"
9+
exit 1
10+
fi
11+
12+
./node_modules/.bin/commitlint -e $1

0 commit comments

Comments
 (0)