Markdown Linter #289
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: 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 |