chore: Add fmt check to CI (#50)

This commit is contained in:
G r e y 2021-02-19 10:30:56 -05:00 committed by GitHub
parent 4bec2c8cd7
commit a370353a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check Format
run: yarn && yarn fmt:check
- name: Login to DockerHub
uses: docker/login-action@v1
with:

View File

@ -1,6 +1,7 @@
{
"private": true,
"scripts": {
"fmt:check": "prettier --check '**/*.{md,yaml}'",
"fmt": "prettier --write '**/*.{md,yaml}'"
},
"devDependencies": {