From 2934ef7b5df01d379fbf3ea29b074a7d36863e8d Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Sat, 12 Mar 2022 14:36:27 +0800 Subject: [PATCH] Checkout before npm install. --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2898f2a..906d82e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,18 +8,17 @@ jobs: markdown-lint: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '16' cache: 'npm' - - uses: actions/checkout@v2 - name: Install packages run: sudo gem install mdl - name: Lint markdown files run: mdl . -r ~MD036,~MD024,~MD004,~MD029 - run: pip install -r requirements.txt - run: mkdocs build --strict - - run: npm install - run: node .github/manual_lint.js # Suppress 036 Emphasis used instead of a header # Suppress 024 Multiple headers with the same content