1
0
Fork 0

Add build step to workflow file

pull/1/head
Jonathan Clem 2019-04-20 11:00:36 -04:00
parent 8d559d0a09
commit 39e21d45c8
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
2 changed files with 8 additions and 2 deletions

View File

@ -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"
} }

View File

@ -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"
}, },