mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
52 lines
1007 B
HCL
52 lines
1007 B
HCL
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"
|
|
}
|
|
|
|
action "Lint" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["nuxt/actions-yarn@master"]
|
|
args = "lint"
|
|
}
|
|
|
|
action "Build" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["nuxt/actions-yarn@master"]
|
|
args = "test:fixtures"
|
|
}
|
|
|
|
action "Npm Audit" {
|
|
uses = "actions/npm@e7aaefe"
|
|
needs = ["nuxt/actions-yarn@master"]
|
|
args = "audit --audit-level=moderate"
|
|
}
|
|
|
|
action "Coverage: Build" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Build"]
|
|
args = "coverage"
|
|
}
|
|
|
|
action "Test: Unit" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "test:unit"
|
|
needs = ["Coverage: Build"]
|
|
}
|
|
|
|
action "Test: E2E" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "test:e2e"
|
|
needs = ["Coverage: Build"]
|
|
}
|
|
|
|
action "Coverage: Unit" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Test: Unit"]
|
|
args = "coverage"
|
|
}
|