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:
parent
0c5adcbefe
commit
c726b59835
31
.github/main.workflow
vendored
Normal file
31
.github/main.workflow
vendored
Normal 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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user