File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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:
4040
4141jobs :
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 :
Original file line number Diff line number Diff line change @@ -38,23 +38,8 @@ stages:
3838
3939jobs:
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:
You can’t perform that action at this time.
0 commit comments