From 574c532cea21cbb0c3a1e9bf1a0dea4dbb7ecb1d Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Sat, 5 Mar 2022 01:31:49 +0800 Subject: [PATCH] Build before lint. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c541dd..88ce0fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,13 +19,13 @@ jobs: cache: 'npm' - name: Install packages run: sudo gem install mdl + # Generate Readme, mkdocs. + - run: node ./.github/readme-generate.js # Lint issues first. (Without node_modules) - name: Lint markdown files run: mdl . -r ~MD036,~MD024,~MD004,~MD029 - run: pip install -r requirements.txt - run: mkdocs build --strict - # Generate Readme, mkdocs. - - run: node ./.github/readme-generate.js # Do textlint fix. - run: npm install - run: ./node_modules/.bin/textlint . --fix