Create Test workflow
This commit is contained in:
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"
|
||||
}
|
||||
Reference in New Issue
Block a user