Skip to content

Commit

Permalink
add remark-check-links, add it to gh actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Feb 10, 2023
1 parent 6079fd0 commit 94fedba
Show file tree
Hide file tree
Showing 3 changed files with 3,618 additions and 365 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976 # v1.0.13
with:
folder-path: "docs, versioned_docs"
file-path: "./readme.md, ./CONTRIBUTING.md"
use-quiet-mode: 'yes' # only report errors

- name: setup node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
with:
cache: 'npm'

- name: install dependencies
run: npm ci

- name: check markdown links
run: npm run check_links
Loading

0 comments on commit 94fedba

Please sign in to comment.