There was an error while loading. Please reload this page.
1 parent 08acf8e commit 1a5b78bCopy full SHA for 1a5b78b
.github/workflows/lint.yaml
@@ -61,8 +61,9 @@ jobs:
61
node-version: lts/*
62
- name: Install commitlint
63
run: |
64
- npm install -D @commitlint/cli@19.8.1 @commitlint/config-conventional@19.8.1
65
- echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0]} };" > commitlint.config.js
+ COMMITLINT_VERSION=20.1.0
+ npm install -D @commitlint/cli@$COMMITLINT_VERSION @commitlint/config-conventional@$COMMITLINT_VERSION
66
+ echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: {'subject-case': [0], 'header-max-length': [0]} };" > commitlint.config.js
67
npx commitlint --version
68
- name: Validate PR commits with commitlint
69
if: github.event_name == 'pull_request'
0 commit comments