File tree Expand file tree Collapse file tree 3 files changed +19
-30
lines changed Expand file tree Collapse file tree 3 files changed +19
-30
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -40,23 +40,8 @@ stages:
40
40
41
41
jobs :
42
42
fast_finish : true
43
- allow_failures :
44
- - env :
45
- - TEST=mardown_lint
46
43
47
44
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
-
60
45
- stage : Test
61
46
name : .travis.yml and travis.yml.template consistency
62
47
script :
Original file line number Diff line number Diff line change @@ -38,23 +38,8 @@ stages:
38
38
39
39
jobs:
40
40
fast_finish: true
41
- allow_failures:
42
- - env:
43
- - TEST=mardown_lint
44
41
45
42
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
-
58
43
- stage: Test
59
44
name: .travis.yml and travis.yml.template consistency
60
45
script:
You can’t perform that action at this time.
0 commit comments