Skip to content

Markdown Linter

Markdown Linter #289

Workflow file for this run

name: Markdown Linter
on:
push:
branches:
- main
paths:
- '**/*.md'
- '.remarkrc'
- '.remarkignore'
- 'pnpm-lock.yaml'
- '.github/workflows/docs.yml'
- '.github/actions/init-node/action.yml'
pull_request:
paths:
- '**/*.md'
- '.remarkrc'
- '.remarkignore'
- 'pnpm-lock.yaml'
- '.github/workflows/docs.yml'
- '.github/actions/init-node/action.yml'
schedule:
- cron: '00 23 * * 1' # Runs at midnight every Monday
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
- name: Initialize Node.js
uses: ./.github/actions/init-node
with:
install: -F .
- name: Check docs
run: node --run test:markdown