Skip to content

Fix path for config file #6

Fix path for config file

Fix path for config file #6

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: '18'
- 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
- name: Archive results for review
if: failure()
uses: actions/upload-artifact@v3
with:
name: failed-links
path: ./failed-links.log