mirror of
https://github.com/actions/setup-node.git
synced 2025-04-03 18:13:06 +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" {
|
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
Block a user