Files
pezkuwi-subxt/.github/workflows/check-markdown.yml
T
dependabot[bot] e34aa4b78e Bump actions/checkout from 4.1.0 to 4.1.1 (#1925)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
2023-10-18 09:39:57 +02:00

34 lines
767 B
YAML

name: Check Markdown
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
packages: read
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@v3.8.1
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
scope: "@paritytech"
- name: Install tooling
run: |
npm install -g markdownlint-cli
markdownlint --version
- name: Check Markdown
env:
CONFIG: .github/.markdownlint.yaml
run: |
markdownlint --config "$CONFIG" --ignore target .