mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-30 08:38:04 +08:00
Add a workflow for running tests
This commit is contained in:
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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user