Skip to content

To be deleted

To be deleted #9

name: Markdown Syntax
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Display Message - Checking Out Code
run: echo "Successfully checked out code from the repository"
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Display Message - Node.js Setup
run: echo "Node.js is setup Successfully."
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Display Message - markdownlint-cli Installation
run: echo "markdownlint-cli has been installed successfully."
- name: Lint Markdown Files
run: markdownlint '**/*.md' --ignore node_modules --config ./.github/linter/.markdownlint.json
- name: Display Message - Linting Complete
run: echo "Linting of Markdown files is complete."
- name: Display Linting Results
if: ${{ always() }}
run: echo "Review the output above to see the linting results."