From 0af06477f2baa6a64a87cabf499fa89fa708cffa Mon Sep 17 00:00:00 2001 From: nukeop <12746779+nukeop@users.noreply.github.com> Date: Sun, 10 Feb 2019 22:04:54 +0000 Subject: [PATCH] Create main.workflow Testing out Github actions --- .github/main.workflow | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000000..95a0b87d1f --- /dev/null +++ b/.github/main.workflow @@ -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" +}