feat: introduction of markdownlinter and markdown-link-checker #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Markdown linter | |
| on: | |
| pull_request: | |
| paths: [ "**/*.md" ] | |
| types: [ "opened", "reopened", "synchronize" ] | |
| push: | |
| branches: | |
| - '**' | |
| paths: [ "**/*.md" ] | |
| tags-ignore: | |
| - '**' | |
| workflow_dispatch: {} | |
| jobs: | |
| markdown-link-checker: | |
| container: | |
| image: docker.io/library/node:24.10.0-alpine | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install tooling | |
| run: | | |
| apk update | |
| apk add git npm | |
| - uses: actions/[email protected] | |
| - name: Verify links in markdown files | |
| run: | | |
| npm install | |
| npm run readme:link | |
| markdown-lint: | |
| container: | |
| image: docker.io/library/node:24.10.0-alpine | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install tooling | |
| run: | | |
| apk update | |
| apk add git | |
| - uses: actions/[email protected] | |
| - name: Lint markdown files | |
| run: | | |
| npm install | |
| npm run readme:lint |