Create Test workflow

This commit is contained in:
Nicolò Ribaudo 2018-12-17 21:15:50 +01:00
parent ed1cee365f
commit e146ae748e

View File

@ -0,0 +1,23 @@
workflow "Build, Lint and Test" {
resolves = ["Test", "Lint"]
on = "push"
}
action "Build" {
uses = "docker://node:10"
runs = "yarn"
}
action "Test" {
needs = "Build"
uses = "docker://node:10"
runs = "yarn"
args = "test"
}
action "Lint" {
needs = "Build"
uses = "docker://node:10"
runs = "yarn"
args = "lint"
}