Add format-check
parent
a0d03f592f
commit
61cf07b2f3
|
|
@ -5,7 +5,7 @@ workflow "CI" {
|
||||||
|
|
||||||
action "Dependencies" {
|
action "Dependencies" {
|
||||||
uses = "actions/npm@v2.0.0"
|
uses = "actions/npm@v2.0.0"
|
||||||
args = "ci"
|
args = "install"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Build" {
|
action "Build" {
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write **/*.ts",
|
"format": "prettier --write **/*.ts",
|
||||||
|
"format-check": "prettier --check **/*.ts",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue