From 364801571fd9119d8e99bb5191062ae6c810411a Mon Sep 17 00:00:00 2001 From: Ted Slusser Date: Sat, 7 Mar 2026 14:15:42 -0600 Subject: [PATCH] fix: install spectral-cli and gherkin-lint for downstream consumers When the idd-check action runs in a consuming repo, it only runs `npm install idd-toolkit` which doesn't include devDependencies. This causes `npx spectral lint` to fail with exit code 127 (command not found). Add the lint tools explicitly to the install step. Co-Authored-By: Claude Opus 4.6 --- .github/actions/idd-check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/idd-check/action.yml b/.github/actions/idd-check/action.yml index c52fd58..071f251 100644 --- a/.github/actions/idd-check/action.yml +++ b/.github/actions/idd-check/action.yml @@ -54,7 +54,7 @@ runs: cd "${{ github.action_path }}/../../.." npm ci else - npm install idd-toolkit + npm install idd-toolkit @stoplight/spectral-cli gherkin-lint fi - name: Gather changed specs