Skip to content

Commit 692ac41

Browse files
committed
ci: update ci.yml
1 parent ce0ee87 commit 692ac41

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ jobs:
3232
- name: Check Markdown formatting
3333
run: npm run format:md
3434
- name: Check Markdown links
35-
run: npm run check:links
35+
run: |
36+
if ls **/*.md 1> /dev/null 2>&1; then
37+
npm run check:links
38+
else
39+
echo "No Markdown files to check."
40+
fi
3641
- name: Audit for vulnerabilities
3742
run: npm audit --production
3843
- name: Run tests

0 commit comments

Comments
 (0)