Skip to content

Commit

Permalink
Add npm install to markdown-check workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 10, 2022
1 parent 1baa03a commit 5ca87aa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 5ca87aa

Please sign in to comment.