ci: pin commitlint dependencies (#1217)

This commit is contained in:
Jack Amadeo 2026-09-10 10:05:55 -04:00 • committed by GitHub
commit b2c90b1edc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,10 @@ jobs:
node-version: '22'
- name: Install commitlint
run: |
npm install --save-dev @commitlint/cli @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
run: npm install --global @commitlint/cli@20.4.3 @commitlint/config-conventional@20.4.3
- name: Lint commit messages
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
run: commitlint --extends @commitlint/config-conventional --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
fmt:
name: Code Formatting