ci[trial]: use nuxt actions-yarn [skip ci]

This commit is contained in:
Clark Du 2018-12-20 10:35:55 +00:00
parent 9ddcd2e716
commit 96bce72fe4

22
.github/main.workflow vendored
View File

@ -3,50 +3,50 @@ workflow "Nuxt.js Actions" {
resolves = ["Npm Audit", "Lint", "Test: E2E", "Coverage: Unit"] resolves = ["Npm Audit", "Lint", "Test: E2E", "Coverage: Unit"]
} }
action "borales/actions-yarn@master" { action "nuxt/actions-yarn@master" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
runs = "install" runs = "install"
} }
action "Lint" { action "Lint" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
needs = ["borales/actions-yarn@master"] needs = ["nuxt/actions-yarn@master"]
runs = "lint" runs = "lint"
} }
action "Build" { action "Build" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
needs = ["borales/actions-yarn@master"] needs = ["nuxt/actions-yarn@master"]
runs = "test:fixtures" runs = "test:fixtures"
} }
action "Npm Audit" { action "Npm Audit" {
uses = "actions/npm@e7aaefe" uses = "actions/npm@e7aaefe"
needs = ["borales/actions-yarn@master"] needs = ["nuxt/actions-yarn@master"]
runs = "audit" runs = "audit"
args = " --audit-level=moderate" args = " --audit-level=moderate"
} }
action "Coverage: Build" { action "Coverage: Build" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
needs = ["Build"] needs = ["Build"]
runs = "coverage" runs = "coverage"
} }
action "Test: Unit" { action "Test: Unit" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
runs = "test:unit" runs = "test:unit"
needs = ["Coverage: Build"] needs = ["Coverage: Build"]
} }
action "Test: E2E" { action "Test: E2E" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
runs = "test:e2e" runs = "test:e2e"
needs = ["Coverage: Build"] needs = ["Coverage: Build"]
} }
action "Coverage: Unit" { action "Coverage: Unit" {
uses = "borales/actions-yarn@master" uses = "nuxt/actions-yarn@master"
needs = ["Test: Unit"] needs = ["Test: Unit"]
runs = "coverage" runs = "coverage"
} }