mirror of https://github.com/actions/toolkit
Add build step to workflow file
parent
8d559d0a09
commit
39e21d45c8
|
@ -8,14 +8,19 @@ action "Dependencies" {
|
|||
args = "ci"
|
||||
}
|
||||
|
||||
action "Compile" {
|
||||
uses = "actions/npm@v2.0.0"
|
||||
run = "run build"
|
||||
}
|
||||
|
||||
action "Format" {
|
||||
needs = "Dependencies"
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run format"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Dependencies"
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "test"
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"name": "root",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "lerna run tsc",
|
||||
"format": "prettier --check packages/*/src/**/*.ts",
|
||||
"test": "jest"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue