1
0
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:
Amir Raminfar
2019-06-12 16:02:56 -07:00
committed by GitHub
parent 3662cfb03c
commit 07e3571a78
7 changed files with 2146 additions and 25 deletions

19
.github/main.workflow vendored
View File

@@ -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"]
}