From 5ca87aa805755915e5aac8b4e68f9f0b047b6959 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 8 Feb 2022 08:57:07 -0500 Subject: [PATCH] Add `npm install` to markdown-check workflows --- .github/workflows/checks.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 1ea0cbfabb0..76b18fe6620 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -14,7 +14,9 @@ jobs: uses: actions/checkout@v2 - name: run markdownlint - run: make markdownlint + run: | + npm install + make markdownlint yamllint: runs-on: ubuntu-latest @@ -37,7 +39,9 @@ jobs: uses: actions/checkout@v2 - name: run markdown-link-check - run: make markdown-link-check + run: | + npm install + make markdown-link-check markdown-toc-check: runs-on: ubuntu-latest @@ -46,7 +50,9 @@ jobs: uses: actions/checkout@v2 - name: run markdown-toc - run: make markdown-toc + run: | + npm install + make markdown-toc - name: validate markdown-toc run: git diff --exit-code ':*.md' || (echo 'Generated markdown Table of Contents is out of date, please run "make markdown-toc" and commit the changes in this PR.' && exit 1)