mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
03779e0ed3
[skip ci]
39 lines
753 B
HCL
39 lines
753 B
HCL
workflow "Nuxt.js Actions" {
|
|
on = "push"
|
|
resolves = ["Audit", "Lint", "Test: Unit", "Test: E2E"]
|
|
}
|
|
|
|
action "Install" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "install --frozen-lockfile --non-interactive"
|
|
}
|
|
|
|
action "Lint" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "lint"
|
|
}
|
|
|
|
action "Audit" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Install"]
|
|
args = "audit"
|
|
}
|
|
|
|
action "Build" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Install"]
|
|
runs = "yarn test:fixtures --coverage && yarn coverage"
|
|
}
|
|
|
|
action "Test: Unit" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Build"]
|
|
runs = "yarn test:unit --coverage && yarn coverage"
|
|
}
|
|
|
|
action "Test: E2E" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "test:e2e"
|
|
needs = ["Build"]
|
|
}
|