-
-
Notifications
You must be signed in to change notification settings - Fork 462
42 lines (39 loc) · 1023 Bytes
/
docs-prs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Documentation PRs
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linting:
name: "Markdown linting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out the code
- name: Lint Code Base
uses: docker://ghcr.io/igorshubovych/markdownlint-cli:latest
with:
args: "--disable MD009 -- docs/**/*.md"
spellcheck:
name: "Spell check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out the code
- name: Install .NET 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- uses: actions/setup-node@v4
name: Setup node
with:
node-version: 18
- run: npm install -g cspell
name: Install cSpell
- run: cspell --config ./docs/cSpell.json "docs/**/*.md"
name: run cSpell
- name: Build docs
run: ./build.sh --no-color docs-import-v3