diff --git a/.github/workflows/megalinter.yml b/.github/workflows/megalinter.yml index 08c54645b5..51690ec652 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: node --experimental-specifier-resolution=node ./node_modules/.bin/spectral lint code/API_definitions/qod-api.yaml --verbose --ruleset .spectral-oas.yml # MegaLinter - name: MegaLinter