File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ jobs:
2626 - name : Install remark
2727 run : npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
2828
29+ - name : Install mdbook
30+ run : |
31+ mkdir mdbook
32+ curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.18/mdbook-v0.4.18-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
33+ echo `pwd`/mdbook >> $GITHUB_PATH
34+
2935 # Run
3036 - name : Check *.md files
3137 run : git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
3238
39+ - name : Build mdbook
40+ run : mdbook build book
41+
3342 # These jobs doesn't actually test anything, but they're only used to tell
3443 # bors the build completed, as there is no practical way to detect when a
3544 # workflow is successful listening to webhooks only.
You can’t perform that action at this time.
0 commit comments