mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-10 06:29:01 +08:00
Add Lint action to main.workflow
This commit is contained in:
parent
20f0d3983a
commit
4fa292edb2
8
.github/main.workflow
vendored
8
.github/main.workflow
vendored
@ -1,6 +1,6 @@
|
||||
workflow "CI" {
|
||||
on = "push"
|
||||
resolves = ["Format", "Test"]
|
||||
resolves = ["Format", "Lint", "Test"]
|
||||
}
|
||||
|
||||
action "Dependencies" {
|
||||
@ -26,6 +26,12 @@ action "Format" {
|
||||
args = "run format-check"
|
||||
}
|
||||
|
||||
action "Lint" {
|
||||
needs = "Dependencies"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run lint"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user