Skip to content

Commit

Permalink
Merge pull request #67 from nextcloud/skjnldsv-patch-1
Browse files Browse the repository at this point in the history
Test actions
  • Loading branch information
skjnldsv committed Apr 17, 2019
2 parents 9e1ae55 + 3b66974 commit 8502381
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/npmbuildandcommit.workflow
@@ -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/git-actions@v0.0.3"
args = "git status"
}

0 comments on commit 8502381

Please sign in to comment.