mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-29 10:59:55 +00:00
18 lines
474 B
YAML
18 lines
474 B
YAML
name: Markdown linting
|
|
# This workflow is triggered on pushes and PRs to the repository.
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
Markdown:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v2
|
|
- name: Install markdownlint
|
|
run: |
|
|
npm install -g markdownlint-cli
|
|
- name: Run Markdownlint
|
|
run: |
|
|
markdownlint ${GITHUB_WORKSPACE} -c ${GITHUB_WORKSPACE}/.github/markdownlint.yml
|
|
|
|
|