Skip to content

Merge pull request #88 from trolologuy/all-contributors/add-johnxie #24

Merge pull request #88 from trolologuy/all-contributors/add-johnxie

Merge pull request #88 from trolologuy/all-contributors/add-johnxie #24

Workflow file for this run

name: Link Checker
on:
push:
branches:
- main
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Run Link Check
run: |
markdown-link-check ${GITHUB_WORKSPACE}/docs/readme.md -p -c ${GITHUB_WORKSPACE}/.github/workflows/link-check-config.json
continue-on-error: true # That job helps assess which links might be broken for faster periodic manual review. It shouldn't be a blocker since so many things can block it.
- name: Finish job
if: success() || failure()
run: |
echo "The link check is done ✔"
echo "Check the output for failures marked with: [✖]\n"