From 471d5752aab5d92b28dcfaabb6f7ed23c599527b Mon Sep 17 00:00:00 2001 From: karamouche Date: Thu, 4 Jun 2026 11:33:39 +0200 Subject: [PATCH] ci: update commitlint workflow to use npx --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6593650..d1214d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,11 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v6 + - uses: actions/setup-node@v6 with: - failOnWarnings: false + node-version: lts/* + - run: npm install --no-save @commitlint/cli @commitlint/config-conventional + - run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose lint: name: Lint (ruff)