Add lint github action (#2473)

This commit is contained in:
pajlada
2021-02-21 14:45:42 +01:00
committed by GitHub
parent 714048a29e
commit e015013773
10 changed files with 207 additions and 128 deletions
+21
View File
@@ -0,0 +1,21 @@
---
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Lint Markdown files
uses: actionsx/prettier@v2
with:
# prettier CLI arguments.
args: --check '**/*.md'