mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-18 07:18:04 +08:00
Add build step to workflow file
This commit is contained in:
9
.github/main.workflow
vendored
9
.github/main.workflow
vendored
@@ -8,14 +8,19 @@ action "Dependencies" {
|
||||
args = "ci"
|
||||
}
|
||||
|
||||
action "Compile" {
|
||||
uses = "actions/npm@v2.0.0"
|
||||
run = "run build"
|
||||
}
|
||||
|
||||
action "Format" {
|
||||
needs = "Dependencies"
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run format"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Dependencies"
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "test"
|
||||
}
|
||||
Reference in New Issue
Block a user