Skip to content

Commit 34382c8

Browse files
committed
chore: Switch markdown-link-check build to GitHub Actions
1 parent cfc1388 commit 34382c8

File tree

3 files changed

+19
-30
lines changed

3 files changed

+19
-30
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Markdown links
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "**/*.md"
7+
8+
jobs:
9+
markdown-link-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '12.x'
16+
- name: Install markdown-link-check
17+
run: npm i -g markdown-link-check
18+
- name: Run markdown-link-check on MD files
19+
run: find . -name "*.md" | xargs -n 1 markdown-link-check -q

.travis.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,8 @@ stages:
4040

4141
jobs:
4242
fast_finish: true
43-
allow_failures:
44-
- env:
45-
- TEST=mardown_lint
4643

4744
include:
48-
- stage: Test
49-
name: Markdown link check
50-
env:
51-
- TEST=mardown_lint
52-
language: node_js
53-
node_js:
54-
- lts/*
55-
install:
56-
- npm i -g markdown-link-check
57-
script:
58-
- find . -name "*.md" | xargs -n 1 markdown-link-check
59-
6045
- stage: Test
6146
name: .travis.yml and travis.yml.template consistency
6247
script:

travis.yml.template

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,8 @@ stages:
3838

3939
jobs:
4040
fast_finish: true
41-
allow_failures:
42-
- env:
43-
- TEST=mardown_lint
4441

4542
include:
46-
- stage: Test
47-
name: Markdown link check
48-
env:
49-
- TEST=mardown_lint
50-
language: node_js
51-
node_js:
52-
- lts/*
53-
install:
54-
- npm i -g markdown-link-check
55-
script:
56-
- find . -name "*.md" | xargs -n 1 markdown-link-check
57-
5843
- stage: Test
5944
name: .travis.yml and travis.yml.template consistency
6045
script:

0 commit comments

Comments
 (0)