From cc54d4bfba615cf220bb19f247a4df35ba29ceb0 Mon Sep 17 00:00:00 2001 From: VijayKesharwani <122533719+VijayKesharwani@users.noreply.github.com> Date: Wed, 15 Nov 2023 19:53:42 +0530 Subject: [PATCH] Update megalinter.yml --- .github/workflows/megalinter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/megalinter.yml b/.github/workflows/megalinter.yml index fc9bb92491..34da81c1cf 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: npx 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