Skip to content

Commit 12bc227

Browse files
committed
Check root level documentation links automatically
1 parent 6b66484 commit 12bc227

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Typescript Code Structure Graph Analysis
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
# Only watch root level Markdown documentation file changes
8+
paths:
9+
- 'README.md'
10+
- 'COMMANDS.md'
11+
- 'GETTING_STARTED.md'
12+
- '.github/workflows/check-links-in-documentation.yml' # also run when this file was changed
13+
schedule:
14+
- cron: "15 6 1 * *" # On the first day of each month at 6:15 o'clock
15+
16+
jobs:
17+
reports:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout GIT Repository
21+
uses: actions/checkout@v4
22+
23+
- name: Setup node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version-file: '.nvmrc'
27+
28+
- name: Check links in top level documentation Markdown files
29+
run: npx --yes markdown-link-check --config=markdown-lint-check-config.json README.md COMMANDS.md GETTING_STARTED.md

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.12.1

0 commit comments

Comments
 (0)