From 5005e6d1e792891aec466fd142ede115503fc25e Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Fri, 8 Mar 2024 19:40:19 +0100 Subject: [PATCH] fix: update commitlint to not use abandoned node (#110) --- .github/workflows/commitlint.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 98252b6..33525ad 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -8,18 +8,5 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: 14.x - - - name: Install dependencies - run: npm install -g @commitlint/cli @commitlint/config-conventional - - - name: Validate all commits from PR - run: | - npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose + - uses: actions/checkout@v3 + - uses: wagoid/commitlint-github-action@v5