mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
* Adds tests for vue * Adds tests and fixes flush * Update main.workflow * Adds more tests
29 lines
468 B
HCL
29 lines
468 B
HCL
workflow "Build, Test and Release" {
|
|
on = "push"
|
|
resolves = [
|
|
"Release",
|
|
]
|
|
}
|
|
|
|
action "go test" {
|
|
uses = "./.github/golang/"
|
|
}
|
|
|
|
action "npm test" {
|
|
uses = "actions/npm@master"
|
|
args = "it"
|
|
}
|
|
|
|
action "Tag" {
|
|
uses = "actions/bin/filter@master"
|
|
needs = ["go test", "npm test"]
|
|
args = "tag"
|
|
}
|
|
|
|
action "Release" {
|
|
uses = "./.github/goreleaser/"
|
|
needs = ["Tag"]
|
|
args = "release"
|
|
secrets = ["GITHUB_TOKEN", "DOCKER_USERNAME", "DOCKER_PASSWORD"]
|
|
}
|