Skip to content

Commit

Permalink
fix: lefthook for local only
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Nov 12, 2024
1 parent 3f86104 commit dc52e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- name: Build
run: npm run build
- name: Publish
env:
CI: true
if: success()
run: npx semantic-release
- name: Build
Expand Down
7 changes: 3 additions & 4 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
commit-msg:
commands:
commitlint:
run: npx commitlint --edit $GIT_PARAMS
skip: CI == 'true'
scripts:
"commitlint.sh":
runner: bash

0 comments on commit dc52e9b

Please sign in to comment.