Initial commit
This commit is contained in:
24
.gitea/workflows/markdown-lint.yml
Normal file
24
.gitea/workflows/markdown-lint.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
# .gitea/workflows/markdown-lint.yml
|
||||
name: Markdown Lint
|
||||
|
||||
on: [pull_request, issues, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: markdown-lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
github-server-url: ${{ vars.GIT_SERVER_URL }}
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Run markdownlint
|
||||
run: npx markdownlint-cli2 "**/*.md" "#node_modules"
|
||||
Reference in New Issue
Block a user