Skip to content

Commit

Permalink
chore: fix commitlint check
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 committed Feb 28, 2024
1 parent ad8a67e commit c594f30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ jobs:
- name: Security audit
run: npm run security

- name: Check commit message
uses: wagoid/commitlint-github-action@v5
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose

test:
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
Expand Down

0 comments on commit c594f30

Please sign in to comment.