mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Update main.workflow
This commit is contained in:
parent
99cae8b8a9
commit
a7ea63f0e4
1 changed files with 13 additions and 4 deletions
17
.github/main.workflow
vendored
17
.github/main.workflow
vendored
|
@ -1,9 +1,13 @@
|
||||||
workflow "Build, Test, and Publish" {
|
workflow "Build, Test, and Publish" {
|
||||||
on = "push"
|
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"
|
uses = "nuxt/actions-yarn@master"
|
||||||
args = "install"
|
args = "install"
|
||||||
}
|
}
|
||||||
|
@ -13,8 +17,13 @@ action "Compile Assets" {
|
||||||
args = "encore production"
|
args = "encore production"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "nuxt/actions-yarn@master" {
|
action "Build frontent code." {
|
||||||
uses = "nuxt/actions-yarn@master"
|
uses = "nuxt/actions-yarn@master"
|
||||||
needs = ["Build"]
|
|
||||||
args = "run build"
|
args = "run build"
|
||||||
|
needs = ["Install frontend depencies."]
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Install Composer dependencies" {
|
||||||
|
uses = "pxgamer/composer-action@master"
|
||||||
|
args = "install -a"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue