diff --git a/.github/workflows/optional-spec-validations.yml b/.github/workflows/optional-spec-validations.yml index fe81bc415..f163679d9 100644 --- a/.github/workflows/optional-spec-validations.yml +++ b/.github/workflows/optional-spec-validations.yml @@ -42,7 +42,7 @@ jobs: - name: Run IPA validation id: ipa-spectral-validation run: | - spectral lint openapi-foas.json --ruleset=./tools/spectral/ipa/ipa-spectral.yaml + npx spectral lint openapi-foas.json --ruleset=./tools/spectral/ipa/ipa-spectral.yaml - name: Validate the FOAS can be used to generate Postman collection id: spectral-validation env: