From 4d49294b59cf5a71d437db74eae1d1236b507aa0 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 27 Feb 2024 18:19:07 +0000 Subject: [PATCH] chore: install nx scopes --- .github/workflows/lint-pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 657dd536e..acbebc0c6 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -22,5 +22,10 @@ jobs: with: node-version-file: '.nvmrc' + - name: Install dependencies + run: | + rm package.json + npm install --no-save @commitlint/cli@16.3.0 @commitlint/config-nx-scopes@17.4.2 + - name: Check PR title run: echo "${{ github.event.pull_request.title }}" | npx @commitlint/cli@16.3.0 --config ./commitlint.config-ci.js