Skip to content

Commit 8a22874

Browse files
committed
ci: use lockfile-pinned commitlint instead of floating runtime install
The runtime 'yarn add commitlint@20.5.3' pulled @commitlint/cli v21, which requires Node >=22.12.0 while the job runs Node 20.x, breaking the commitlint check on every branch. Use the @commitlint/cli ^19.5.0 already installed via --frozen-lockfile instead.
1 parent 5e6aed8 commit 8a22874

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/commitlint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
- name: Install dependencies
3030
run: yarn install --frozen-lockfile
3131

32-
- name: Install commitlint
33-
run: |
34-
yarn add conventional-changelog-conventionalcommits
35-
yarn add commitlint@20.5.3
36-
3732
- name: Validate current commit (last commit) with commitlint
3833
if: github.event_name == 'push'
3934
run: npx commitlint --last --verbose

0 commit comments

Comments
 (0)