Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/npmbuildandcommit.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
workflow "On comment" {
resolves = ["Status"]
on = "issue_comment"
}

action "Is pull request" {
uses = "actions/bin/filter@master"
args = "branch *"
}

action "Check command" {
needs = "Is pull request"
uses = "actions/bin/filter@master"
args = "issue_comment build and commit /*"
}

action "Npm install" {
needs = "Check command"
uses = "actions/npm@master"
args = "install"
}

action "Npm build" {
needs = "Npm install"
uses = "actions/npm@master"
args = "run build"
}

action "Status" {
needs = "Npm build"
uses = "srt32/[email protected]"
args = "git status"
}