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"
|
args = "ci"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action "Compile" {
|
||||||
|
uses = "actions/npm@v2.0.0"
|
||||||
|
run = "run build"
|
||||||
|
}
|
||||||
|
|
||||||
action "Format" {
|
action "Format" {
|
||||||
needs = "Dependencies"
|
needs = "Compile"
|
||||||
uses = "actions/npm@v2.0.0"
|
uses = "actions/npm@v2.0.0"
|
||||||
args = "run format"
|
args = "run format"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Test" {
|
action "Test" {
|
||||||
needs = "Dependencies"
|
needs = "Compile"
|
||||||
uses = "actions/npm@v2.0.0"
|
uses = "actions/npm@v2.0.0"
|
||||||
args = "test"
|
args = "test"
|
||||||
}
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
"name": "root",
|
"name": "root",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "lerna run tsc",
|
||||||
"format": "prettier --check packages/*/src/**/*.ts",
|
"format": "prettier --check packages/*/src/**/*.ts",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue