diff --git a/.github/main.workflow b/.github/main.workflow index 8f5212a169..087844ca23 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -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"]