mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-18 03:04:23 +08:00
更新更多贡献细节。build时必须lint通过。
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -17,7 +17,14 @@ jobs:
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: 'npm'
|
||||
- name: Install packages
|
||||
run: sudo gem install mdl
|
||||
- run: npm install
|
||||
# Lint issues first.
|
||||
- name: Lint markdown files
|
||||
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
|
||||
- run: pip install -r requirements.txt
|
||||
- run: mkdocs build --strict
|
||||
# Generate Readme.
|
||||
- run: node ./.github/readme-generate.js
|
||||
# Do textlint fix.
|
||||
|
||||
Reference in New Issue
Block a user