mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-14 13:43:09 +00:00
20 lines
517 B
YAML
20 lines
517 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@v1
|
|
with:
|
|
node-version: '10'
|
|
- name: Install markdownlint
|
|
run: |
|
|
npm install -g markdownlint-cli
|
|
- name: Run Markdownlint
|
|
run: |
|
|
markdownlint ${GITHUB_WORKSPACE} -c ${GITHUB_WORKSPACE}/.github/markdownlint.yml
|
|
|
|
|