Skip to content

Merge pull request #5 from angolaosc/contrib #8

Merge pull request #5 from angolaosc/contrib

Merge pull request #5 from angolaosc/contrib #8

Workflow file for this run

name: Linting and formatting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
npm install -g markdownlint-cli prettier
- name: Format README markdown file
run: prettier --write **/*.md
- name: Lint README markdown file
run: markdownlint **/*.md