mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 00:43:16 +08:00
Add ESLint and Prettier tooling
This commit is contained in:
16
.github/main.workflow
vendored
16
.github/main.workflow
vendored
@@ -1,11 +1,23 @@
|
||||
workflow "CI" {
|
||||
on = "push"
|
||||
resolves = "Test"
|
||||
resolves = ["Format", "Lint", "Test"]
|
||||
}
|
||||
|
||||
action "Dependencies" {
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "ci"
|
||||
args = "install"
|
||||
}
|
||||
|
||||
action "Format" {
|
||||
needs = "Dependencies"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run format"
|
||||
}
|
||||
|
||||
action "Lint" {
|
||||
needs = "Dependencies"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run lint"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
|
||||
Reference in New Issue
Block a user