Skip to content

Commit f5d64c5

Browse files
chore: update .github/workflows/lint.yaml
1 parent e33e8ef commit f5d64c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ jobs:
7171
node-version: lts/*
7272
- name: Install commitlint
7373
run: |
74-
npm install -D @commitlint/cli@19.8.1 @commitlint/config-conventional@19.8.1
75-
echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0]} };" > commitlint.config.js
74+
COMMITLINT_VERSION=20.1.0
75+
npm install -D @commitlint/cli@$COMMITLINT_VERSION @commitlint/config-conventional@$COMMITLINT_VERSION
76+
echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0], 'header-max-length': [0]} };" > commitlint.config.js
7677
npx commitlint --version
7778
- name: Validate PR commits with commitlint
7879
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)