Add format-check

This commit is contained in:
Danny McCormick 2019-06-05 15:37:24 -04:00
parent a0d03f592f
commit 61cf07b2f3
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ workflow "CI" {
action "Dependencies" {
uses = "actions/npm@v2.0.0"
args = "ci"
args = "install"
}
action "Build" {

View File

@ -7,6 +7,7 @@
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"test": "jest"
},
"repository": {