From 766048ff37b39e5646a7fbd8e53a22bd4100ebc5 Mon Sep 17 00:00:00 2001 From: VijayKesharwani <122533719+VijayKesharwani@users.noreply.github.com> Date: Thu, 19 Oct 2023 12:05:04 +0530 Subject: [PATCH] Update dictionary install command --- .github/workflows/megalinter.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/megalinter.yml b/.github/workflows/megalinter.yml index 81d17752a2..e1c8b85baa 100644 --- a/.github/workflows/megalinter.yml +++ b/.github/workflows/megalinter.yml @@ -37,6 +37,9 @@ jobs: fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances - name: Install Spectral run: npm install -g @stoplight/spectral + - name: Install spell checker module 'nspell' & dictionary + 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