Skip to content

Commit 7621a3f

Browse files
chore(deps): use local markdownlint in CI (#63)
1 parent 32dc942 commit 7621a3f

5 files changed

Lines changed: 1204 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020

21-
- name: Install markdownlint-cli
22-
run: npm install --ignore-scripts -g markdownlint-cli
21+
- name: Install dependencies
22+
run: npm ci --ignore-scripts
2323

2424
- name: Lint markdown files
2525
run: |
26-
markdownlint \
26+
npx --no-install markdownlint \
2727
-f \
2828
-o markdownlint_report.log \
2929
--ignore-path .markdownlintignore \

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# ignore JetBrains IDE files
22
.idea/
3+
4+
# ignore Node.js dependencies
5+
node_modules/

.markdownlintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
docs/_Footer.md
2+
node_modules/
23
README.md

0 commit comments

Comments
 (0)