Skip to content

Commit 2934ef7

Browse files
committed
Checkout before npm install.
1 parent 774420e commit 2934ef7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ jobs:
88
markdown-lint:
99
runs-on: ubuntu-latest
1010
steps:
11+
- uses: actions/checkout@v2
1112
- uses: actions/setup-node@v2
1213
with:
1314
node-version: '16'
1415
cache: 'npm'
15-
- uses: actions/checkout@v2
1616
- name: Install packages
1717
run: sudo gem install mdl
1818
- name: Lint markdown files
1919
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
2020
- run: pip install -r requirements.txt
2121
- run: mkdocs build --strict
22-
- run: npm install
2322
- run: node .github/manual_lint.js
2423
# Suppress 036 Emphasis used instead of a header
2524
# Suppress 024 Multiple headers with the same content

0 commit comments

Comments
 (0)