mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
ci[trial]: use nuxt actions-yarn [skip ci]
This commit is contained in:
parent
9ddcd2e716
commit
96bce72fe4
22
.github/main.workflow
vendored
22
.github/main.workflow
vendored
@ -3,50 +3,50 @@ workflow "Nuxt.js Actions" {
|
||||
resolves = ["Npm Audit", "Lint", "Test: E2E", "Coverage: Unit"]
|
||||
}
|
||||
|
||||
action "borales/actions-yarn@master" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
action "nuxt/actions-yarn@master" {
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
runs = "install"
|
||||
}
|
||||
|
||||
action "Lint" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
needs = ["borales/actions-yarn@master"]
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["nuxt/actions-yarn@master"]
|
||||
runs = "lint"
|
||||
}
|
||||
|
||||
action "Build" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
needs = ["borales/actions-yarn@master"]
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["nuxt/actions-yarn@master"]
|
||||
runs = "test:fixtures"
|
||||
}
|
||||
|
||||
action "Npm Audit" {
|
||||
uses = "actions/npm@e7aaefe"
|
||||
needs = ["borales/actions-yarn@master"]
|
||||
needs = ["nuxt/actions-yarn@master"]
|
||||
runs = "audit"
|
||||
args = " --audit-level=moderate"
|
||||
}
|
||||
|
||||
action "Coverage: Build" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["Build"]
|
||||
runs = "coverage"
|
||||
}
|
||||
|
||||
action "Test: Unit" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
runs = "test:unit"
|
||||
needs = ["Coverage: Build"]
|
||||
}
|
||||
|
||||
action "Test: E2E" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
runs = "test:e2e"
|
||||
needs = ["Coverage: Build"]
|
||||
}
|
||||
|
||||
action "Coverage: Unit" {
|
||||
uses = "borales/actions-yarn@master"
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["Test: Unit"]
|
||||
runs = "coverage"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user