Skip to content

updated github action for links #2

updated github action for links

updated github action for links #2

Workflow file for this run

name: Check Links
on:
push:
branches:
- main
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: |
npm install -g markdown-link-check
- name: Check links in Markdown files
run: markdown-link-check $(find . -name "*.md" -not -path "./node_modules/*")