mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
ci: add branch filter
This commit is contained in:
parent
03779e0ed3
commit
f1a3ce1a7a
17
.github/main.workflow
vendored
17
.github/main.workflow
vendored
@ -3,22 +3,27 @@ workflow "Nuxt.js Actions" {
|
||||
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 "Lint" {
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
args = "lint"
|
||||
}
|
||||
|
||||
action "Audit" {
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["Install"]
|
||||
args = "audit"
|
||||
}
|
||||
|
||||
action "Lint" {
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["Install"]
|
||||
args = "lint"
|
||||
}
|
||||
|
||||
action "Build" {
|
||||
uses = "nuxt/actions-yarn@master"
|
||||
needs = ["Install"]
|
||||
|
Loading…
Reference in New Issue
Block a user