Build before lint.
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -19,13 +19,13 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: sudo gem install mdl
|
run: sudo gem install mdl
|
||||||
|
# Generate Readme, mkdocs.
|
||||||
|
- run: node ./.github/readme-generate.js
|
||||||
# Lint issues first. (Without node_modules)
|
# Lint issues first. (Without node_modules)
|
||||||
- name: Lint markdown files
|
- name: Lint markdown files
|
||||||
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
|
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- run: mkdocs build --strict
|
- run: mkdocs build --strict
|
||||||
# Generate Readme, mkdocs.
|
|
||||||
- run: node ./.github/readme-generate.js
|
|
||||||
# Do textlint fix.
|
# Do textlint fix.
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: ./node_modules/.bin/textlint . --fix
|
- run: ./node_modules/.bin/textlint . --fix
|
||||||
|
|||||||
Reference in New Issue
Block a user