Skip to content

Commit

Permalink
Create main.workflow
Browse files Browse the repository at this point in the history
Testing out Github actions
  • Loading branch information
nukeop authored Feb 10, 2019
1 parent 427b498 commit 0af0647
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
workflow "Build and test on push" {
on = "push"
resolves = ["GitHub Action for npm-4"]
}

action "GitHub Action for npm" {
uses = "actions/npm@4633da3702a5366129dca9d8cc3191476fc3433c"
args = "install"
}

action "Filters for GitHub Actions" {
uses = "actions/bin/filter@ec328c7554cbb19d9277fc671cf01ec7c661cd9a"
}

action "GitHub Action for npm-1" {
uses = "actions/npm@4633da3702a5366129dca9d8cc3191476fc3433c"
needs = ["GitHub Action for npm"]
args = "test"
}

action "GitHub Action for npm-2" {
uses = "actions/npm@4633da3702a5366129dca9d8cc3191476fc3433c"
needs = ["GitHub Action for npm-1"]
args = "run build:dist"
}

action "GitHub Action for npm-3" {
uses = "actions/npm@4633da3702a5366129dca9d8cc3191476fc3433c"
needs = ["GitHub Action for npm-2"]
args = "run build:electron"
}

action "GitHub Action for npm-4" {
uses = "actions/npm@4633da3702a5366129dca9d8cc3191476fc3433c"
needs = ["GitHub Action for npm-3"]
args = "run build:all"
}

0 comments on commit 0af0647

Please sign in to comment.