Skip to content

feat: Prod Promotion -- v0.2.2 #58

feat: Prod Promotion -- v0.2.2

feat: Prod Promotion -- v0.2.2 #58

Workflow file for this run

# workflows/lint-markdown.yml
#
# Lint Markdown
# Lint Markdown files using Prettier.
name: Lint Markdown
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "**/*.md"
- "**/*.mdx"
- ".github/workflows/lint-markdown.yml"
workflow_dispatch:
concurrency:
group: lint-markdown-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint-markdown:
name: Lint Markdown Files
runs-on: ubicloud-standard-2
if: github.event.pull_request.draft == false
steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
- name: Set up NodeJS Environment
uses: actions/setup-node@v4
- name: Install Prettier
run: npm install -g prettier markdownlint-cli
- name: Run Markdown Lint
run: markdownlint '**/*.md'
- name: Run Prettier
run: prettier --check '{**/*.md,**/*.mdx}'