-
Notifications
You must be signed in to change notification settings - Fork 13
34 lines (32 loc) · 928 Bytes
/
verify.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
name: Markdown
on:
pull_request:
branches:
- main
paths:
- '**/*.md'
jobs:
markdown-lint: # call reusable workflow from central '.github' repo
uses: open-component-model/.github/.github/workflows/markdown.yml@main
secrets: inherit
with:
md-lint: .github/config/markdownlint.yml
md-ignore: .github/config/markdownignore
spellcheck: .github/config/spellcheck.yml
verify-links:
name: Verify HTML links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.12.0 # keep in sync with 'engines'@package.json
- name: Install Dependencies
run: npm install
- name: Build Site
run: npm run build
- name: Verify HTML links
uses: untitaker/hyperlink@0.1.43
with:
args: public/ --sources content/