mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 12:42:58 +08:00
Add a workflow for running tests
This commit is contained in:
parent
f026c43b81
commit
37e19115be
15
.github/main.workflow
vendored
Normal file
15
.github/main.workflow
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
workflow "CI" {
|
||||||
|
on = "push"
|
||||||
|
resolves = "Test"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Dependencies" {
|
||||||
|
uses = "actions/npm@v2.0.0"
|
||||||
|
args = "ci"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Test" {
|
||||||
|
needs = "Dependencies"
|
||||||
|
uses = "actions/npm@v2.0.0"
|
||||||
|
args = "test"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user