-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb3aa1b
commit 1c56df6
Showing
2 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,4 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: celestiaorg/.github/.github/actions/[email protected] | ||
- uses: celestiaorg/.github/.github/actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
name: "Markdown Lint and Link Check" | ||
on: | ||
push: | ||
paths: | ||
- 'docs/**/*.md' | ||
- 'guides/**/*.md' | ||
|
||
jobs: | ||
markdown-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install markdownlint-cli | ||
run: npm install -g [email protected] | ||
shell: bash | ||
- name: Install markdownlint-cli | ||
run: npm install -g [email protected] | ||
shell: bash | ||
|
||
- name: Run markdownlint | ||
run: markdownlint --config .markdownlint.yaml **/*.md | ||
shell: bash | ||
- name: Run markdownlint | ||
run: markdownlint --config .markdownlint.yaml **/*.md | ||
shell: bash | ||
|
||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run markdown link check | ||
uses: gaurav-nelson/[email protected] | ||
with: | ||
config-file: '.github/markdown-link-check-config.json' | ||
folder-path: '.' | ||
- name: Run markdown link check | ||
uses: gaurav-nelson/[email protected] | ||
with: | ||
config-file: '.github/markdown-link-check-config.json' | ||
folder-path: '.' |