aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-06-30 21:12:54 +0800
committerGitHub <noreply@github.com>2023-06-30 21:12:54 +0800
commitda530073faac458f893481b212617db7059e7c19 (patch)
treef9c9ab999f2b98489ab5b18ea2a944dc45c17d73
parent6a54467c1bad18ac0645564083972aa9a12617fc (diff)
downloadsupport-da530073faac458f893481b212617db7059e7c19.tar.gz
support-da530073faac458f893481b212617db7059e7c19.zip
Create md-lint.yml
-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