Skip to content

Commit

Permalink
ci: add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Mar 18, 2024
1 parent a41bb34 commit 6e86f7a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/mdlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Markdown
on:
pull_request

jobs:
check-markdown:
runs-on: ubuntu-22:04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21'

- name: Install mdlint
run: npm install -g @moonbit/markdown-linter

- name: Run mdlint
run: mdlint course*/*.md

0 comments on commit 6e86f7a

Please sign in to comment.