Support full CI/CD #128
Workflow file for this run
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: Lint Markdown and check links | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Dependencies | |
run: | | |
npm install | |
npm install -g markdownlint-cli | |
npm install -g markdown-link-check | |
- name: Lint markdown | |
run: npm run lint | |
- name: Link check | |
run: npm run links-ci |