diff --git a/.github/workflows/megalinter.yml b/.github/workflows/megalinter.yml index a1934c5178..fc9bb92491 100644 --- a/.github/workflows/megalinter.yml +++ b/.github/workflows/megalinter.yml @@ -43,7 +43,7 @@ jobs: # run: npm install nspell && npm install dictionary-en # working-directory: ${{ github.workspace }} - name: Run spectral:oas Spectral Linting - run: spectral lint code/API_definitions/qod-api.yaml --verbose --ruleset .spectral-oas.yml + run: npx spectral lint code/API_definitions/qod-api.yaml --verbose --ruleset .spectral-oas.yml # MegaLinter - name: MegaLinter