mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
a1ee6636ca
[skip release]
44 lines
842 B
HCL
44 lines
842 B
HCL
workflow "Nuxt.js Actions" {
|
|
on = "push"
|
|
resolves = ["Audit", "Lint", "Test: Unit", "Test: E2E"]
|
|
}
|
|
|
|
action "branch-filter" {
|
|
uses = "actions/bin/filter@master"
|
|
args = ["branch dev"]
|
|
}
|
|
|
|
action "Install" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "install --frozen-lockfile --non-interactive"
|
|
}
|
|
|
|
action "Audit" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
args = "audit"
|
|
}
|
|
|
|
action "Lint" {
|
|
uses = "nuxt/actions-yarn@master"
|
|
needs = ["Install"]
|
|
args = "lint"
|
|
}
|
|
|
|
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"]
|
|
}
|