aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/md-lint.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/md-lint.yml b/.github/workflows/md-lint.yml
new file mode 100644
index 0000000..f9ed5d0
--- /dev/null
+++ b/.github/workflows/md-lint.yml
@@ -0,0 +1,32 @@
+name: Markdown Lint
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+jobs:
+ ci:
+ name: Run Linter
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [16.x]
+
+ steps:
+ - name: Checkout Source Files
+ uses: actions/checkout@v2
+
+ - name: Use Node.js v${{ matrix.node-version }}
+ uses: actions/setup-node@v2
+ with:
+ node-version: ${{ matrix.node-version }}
+
+ - name: Install Dependencies
+ run: npm ci
+
+ - name: Lint Source Files
+ run: npm run lint