Update remark CI deps
This commit is contained in:
parent
c92de58692
commit
32519528df
6
.github/workflows/remark.yml
vendored
6
.github/workflows/remark.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '18.x'
|
||||||
|
|
||||||
- name: Install remark
|
- name: Install remark
|
||||||
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
|
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
|
||||||
@ -29,12 +29,12 @@ jobs:
|
|||||||
- name: Install mdbook
|
- name: Install mdbook
|
||||||
run: |
|
run: |
|
||||||
mkdir mdbook
|
mkdir mdbook
|
||||||
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.28/mdbook-v0.4.28-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
|
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
|
||||||
echo `pwd`/mdbook >> $GITHUB_PATH
|
echo `pwd`/mdbook >> $GITHUB_PATH
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
- name: Check *.md files
|
- name: Check *.md files
|
||||||
run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
|
run: ./node_modules/.bin/remark -u lint -f .
|
||||||
|
|
||||||
- name: Linkcheck book
|
- name: Linkcheck book
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user