Skip to content

Commit

Permalink
fix(husky): fix husky pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
231tr0n committed Mar 3, 2024
1 parent 25f8843 commit cce61ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
npm --version
- name: Install dependencies
run: npm install
- name: Commitlint
- name: Push Commitlint
if: github.event_name == 'push'
run: npm run commitlint
- name: PR Commitlint
- name: Pull Request Commitlint
env:
TITLE: ${{ github.event.pull_request.title }}
if: github.event_name == 'pull_request'
Expand Down
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
npm run lint
npm run build
npm run test

0 comments on commit cce61ed

Please sign in to comment.