Skip to content

Commit fba92cc

Browse files
test: update (#1083)
1 parent c7f0aee commit fba92cc

File tree

14 files changed

+18404
-1312
lines changed

14 files changed

+18404
-1312
lines changed

.github/workflows/nodejs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ jobs:
5757
- name: Security audit
5858
run: npm run security
5959

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

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

0 commit comments

Comments
 (0)