2019-02-14 03:14:20 -05:00
|
|
|
workflow "New workflow" {
|
2019-02-15 09:00:54 -05:00
|
|
|
resolves = [
|
|
|
|
"Docker build health check",
|
|
|
|
"Test Publish Verdaccio",
|
2019-02-28 01:07:06 -05:00
|
|
|
]
|
|
|
|
on = "push"
|
2019-02-14 03:14:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
action "Docker build health check" {
|
|
|
|
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
|
|
|
|
args = "build ."
|
2019-04-06 01:35:38 -05:00
|
|
|
env = {
|
|
|
|
VERDACCIO_BUILD_REGISTRY = "https://registry.verdaccio.org"
|
|
|
|
}
|
2019-02-14 03:14:20 -05:00
|
|
|
}
|
2019-02-15 09:00:54 -05:00
|
|
|
|
|
|
|
action "Test Publish Verdaccio" {
|
2019-02-15 11:17:41 -05:00
|
|
|
uses = "verdaccio/github-actions/publish@v0.1.0"
|
2019-02-15 09:00:54 -05:00
|
|
|
needs = ["Docker build health check"]
|
2019-02-28 01:07:06 -05:00
|
|
|
args = "-d"
|
2019-02-15 09:00:54 -05:00
|
|
|
}
|