ci: enforce commitlint + skip build on tests
This commit is contained in:
parent
d5c5fb7435
commit
9b5b3cc202
2 changed files with 4 additions and 1 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
|
@ -22,5 +22,4 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci
|
||||
- run: npm run generate --if-present
|
||||
- run: npm test
|
||||
|
|
|
|||
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install commitlint --edit ""
|
||||
Loading…
Reference in a new issue