Update main.workflow

This commit is contained in:
Jan Böhmer 2019-03-25 22:52:51 +01:00 committed by GitHub
parent 99cae8b8a9
commit a7ea63f0e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/main.workflow vendored
View file

@ -1,9 +1,13 @@
workflow "Build, Test, and Publish" {
on = "push"
resolves = ["nuxt/actions-yarn@master"]
resolves = [
"Install Composer dependencies",
"Build frontent code.",
"Install frontend depencies.",
]
}
action "Build" {
action "Install frontend depencies." {
uses = "nuxt/actions-yarn@master"
args = "install"
}
@ -13,8 +17,13 @@ action "Compile Assets" {
args = "encore production"
}
action "nuxt/actions-yarn@master" {
action "Build frontent code." {
uses = "nuxt/actions-yarn@master"
needs = ["Build"]
args = "run build"
needs = ["Install frontend depencies."]
}
action "Install Composer dependencies" {
uses = "pxgamer/composer-action@master"
args = "install -a"
}