Create Test workflow
This commit is contained in:
parent
ed1cee365f
commit
e146ae748e
23
eslint/babel-eslint-plugin-development/.github/main.workflow
vendored
Normal file
23
eslint/babel-eslint-plugin-development/.github/main.workflow
vendored
Normal 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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user