mirror of
https://github.com/actions/setup-node.git
synced 2025-04-03 01:49:34 +08:00
Add format-check
This commit is contained in:
parent
a0d03f592f
commit
61cf07b2f3
2
.github/main.workflow
vendored
2
.github/main.workflow
vendored
|
@ -5,7 +5,7 @@ workflow "CI" {
|
|||
|
||||
action "Dependencies" {
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "ci"
|
||||
args = "install"
|
||||
}
|
||||
|
||||
action "Build" {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"test": "jest"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user