[Doc][Polish] avoid memory leak and explain some points #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Markdown Files | |
on: | |
pull_request: | |
branches: | |
- develop | |
push: | |
branches: | |
- develop | |
jobs: | |
lint-md: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Step 2: Set up Node.js environment | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '21' | |
# Step 3: Install lint-md-cli | |
- name: Install lint-md-cli | |
run: npm install -g lint-md-cli | |
# Step 4: Run lint-md using npx | |
- name: Run lint-md check | |
run: npx lint-md-cli . |