1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

ci: add Actions workflow

This commit is contained in:
Shawn Allen 2019-02-04 14:00:35 -08:00
parent 0c5adcbefe
commit c726b59835

31
.github/main.workflow vendored Normal file
View File

@ -0,0 +1,31 @@
workflow "lint, test, deploy" {
on = "push"
resolves = [
"lint",
"test",
"deploy",
]
}
action "install" {
uses = "actions/npm@master"
args = "install"
}
action "lint" {
needs = "install"
uses = "actions/npm@master"
args = "run lint"
}
action "test" {
needs = "install"
uses = "actions/npm@master"
args = "test"
}
action "deploy" {
needs = "install"
uses = "primer/deploy@master"
args = "test"
}