Skip to content

Commit ee98941

Browse files
authored
ci(commitlint): followed the updated ci setup guidance
based on conventional-changelog/commitlint#3916
1 parent 972cea2 commit ee98941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- run: npm test
2929
- name: Validate current commit (last commit) with commitlint
3030
if: github.event_name == 'push'
31-
run: npx commitlint --from HEAD~1 --to HEAD --verbose
31+
run: npx commitlint --last --verbose
3232

3333
- name: Validate PR commits with commitlint
3434
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)