mirror of
https://github.com/Redocly/redoc.git
synced 2026-03-05 20:11:16 +03:00
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: Documentation tests
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
markdownlint:
|
|
name: markdownlint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0
|
|
with:
|
|
config: .markdownlint.yaml
|
|
globs: |
|
|
docs/**/*.md
|
|
README.md
|
|
|
|
vale:
|
|
name: vale action
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: errata-ai/vale-action@reviewdog
|
|
with:
|
|
files: '["README.md", "docs"]'
|
|
filter_mode: file
|
|
|
|
linkcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Markup Link Checker (mlc)
|
|
uses: becheran/mlc@7ec24825cefe0c9c8c6bac48430e1f69e3ec356e # v1.2.0
|
|
with:
|
|
args: ./docs
|