Skip to content

Commit 6290fdb

Browse files
committed
chore: update commitlint configuration and CI node version
- Adjust commitlint configuration to remove body max line length restriction. - Update CI workflow to limit node versions to 22 only, simplifying the testing matrix. This change enhances the commit message validation process and streamlines the CI environment.
1 parent 67f0fc1 commit 6290fdb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18, 20, 22]
15+
node-version: [22]
1616

1717
steps:
1818
- name: Checkout repository

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ export default {
2020
],
2121
'subject-case': [2, 'never', ['start-case', 'pascal-case', 'upper-case']],
2222
'header-max-length': [2, 'always', 100],
23+
'body-max-line-length': [0, 'always', Infinity],
2324
},
2425
};

0 commit comments

Comments
 (0)