Template
Initial: ITPP standards repo with templates, CI workflows, .gitignore, and .markdownlint.json
Docs Check / lint (push) Failing after 34s
Docs Check / lint (push) Failing after 34s
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: Docs Check
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Markdown lint
|
||||
run: |
|
||||
npm install -g markdownlint-cli
|
||||
markdownlint '**/*.md' --ignore node_modules
|
||||
- name: Link check
|
||||
run: |
|
||||
npm install -g markdown-link-check
|
||||
find . -name '*.md' -not -path '*/node_modules/*' \
|
||||
-exec markdown-link-check {} \;
|
||||
- name: Spell check
|
||||
run: |
|
||||
pip install codespell
|
||||
codespell '**/*.md' --skip='*.git*'
|
||||
Reference in New Issue
Block a user