Nuxt/.github/main.workflow

52 lines
1007 B
Plaintext
Raw Normal View History

2018-12-20 10:14:26 +00:00
workflow "Nuxt.js Actions" {
on = "push"
resolves = ["Npm Audit", "Lint", "Test: E2E", "Coverage: Unit"]
}
action "nuxt/actions-yarn@master" {
uses = "nuxt/actions-yarn@master"
args = "install"
2018-12-20 10:14:26 +00:00
}
action "Lint" {
uses = "nuxt/actions-yarn@master"
needs = ["nuxt/actions-yarn@master"]
args = "lint"
2018-12-20 10:14:26 +00:00
}
action "Build" {
uses = "nuxt/actions-yarn@master"
needs = ["nuxt/actions-yarn@master"]
args = "test:fixtures"
2018-12-20 10:14:26 +00:00
}
action "Npm Audit" {
uses = "actions/npm@e7aaefe"
needs = ["nuxt/actions-yarn@master"]
args = "audit --audit-level=moderate"
2018-12-20 10:14:26 +00:00
}
action "Coverage: Build" {
uses = "nuxt/actions-yarn@master"
2018-12-20 10:14:26 +00:00
needs = ["Build"]
args = "coverage"
2018-12-20 10:14:26 +00:00
}
action "Test: Unit" {
uses = "nuxt/actions-yarn@master"
args = "test:unit"
2018-12-20 10:14:26 +00:00
needs = ["Coverage: Build"]
}
action "Test: E2E" {
uses = "nuxt/actions-yarn@master"
args = "test:e2e"
2018-12-20 10:14:26 +00:00
needs = ["Coverage: Build"]
}
action "Coverage: Unit" {
uses = "nuxt/actions-yarn@master"
2018-12-20 10:14:26 +00:00
needs = ["Test: Unit"]
args = "coverage"
2018-12-20 10:14:26 +00:00
}