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