Skip to content

Merge pull request #29 from dmarcoux/update-info #140

Merge pull request #29 from dmarcoux/update-info

Merge pull request #29 from dmarcoux/update-info #140

Workflow file for this run

name: Lint
on:
# Run this workflow when a commit is pushed to `main`
push:
branches:
- main
# Run this workflow on any PR targeting `main`
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
with:
submodules: true # to include themes
# https://github.com/actions/setup-node
- uses: actions/setup-node@v4
- name: Install CLI for markdownlint
run: npm install markdownlint-cli2 --global
- name: Lint Markdown files, while excluding anything under the themes and node_modules directories
run: markdownlint-cli2 "**/*.md" "#themes" "#node_modules"