File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ jobs:
26
26
- name : Install remark
27
27
run : npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
28
28
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
+
29
35
# Run
30
36
- name : Check *.md files
31
37
run : git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
32
38
39
+ - name : Build mdbook
40
+ run : mdbook build book
41
+
33
42
# These jobs doesn't actually test anything, but they're only used to tell
34
43
# bors the build completed, as there is no practical way to detect when a
35
44
# workflow is successful listening to webhooks only.
You can’t perform that action at this time.
0 commit comments