mirror of
https://github.com/amir20/dozzle.git
synced 2026-01-03 19:45:01 +01:00
Jest tests (#35)
* Adds tests for vue * Adds tests and fixes flush * Update main.workflow * Adds more tests
This commit is contained in:
19
.github/main.workflow
vendored
19
.github/main.workflow
vendored
@@ -1,23 +1,28 @@
|
||||
workflow "Release" {
|
||||
workflow "Build, Test and Release" {
|
||||
on = "push"
|
||||
resolves = [
|
||||
"release",
|
||||
"Release",
|
||||
]
|
||||
}
|
||||
|
||||
action "test" {
|
||||
action "go test" {
|
||||
uses = "./.github/golang/"
|
||||
}
|
||||
|
||||
action "is-tag" {
|
||||
action "npm test" {
|
||||
uses = "actions/npm@master"
|
||||
args = "it"
|
||||
}
|
||||
|
||||
action "Tag" {
|
||||
uses = "actions/bin/filter@master"
|
||||
needs = ["test"]
|
||||
needs = ["go test", "npm test"]
|
||||
args = "tag"
|
||||
}
|
||||
|
||||
action "release" {
|
||||
action "Release" {
|
||||
uses = "./.github/goreleaser/"
|
||||
needs = ["is-tag"]
|
||||
needs = ["Tag"]
|
||||
args = "release"
|
||||
secrets = ["GITHUB_TOKEN", "DOCKER_USERNAME", "DOCKER_PASSWORD"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user