diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 00000000..34dce89e --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,31 @@ +workflow "CI" { + on = "push" + resolves = ["Unit Tests", "Build", "Typings"] +} + +action "Install" { + uses = "actions/npm@3c8332795d5443adc712d30fa147db61fd520b5a" + runs = "yarn" + args = "install" +} + +action "Unit Tests" { + uses = "actions/npm@3c8332795d5443adc712d30fa147db61fd520b5a" + needs = ["Install"] + runs = "yarn" + args = "test" +} + +action "Build" { + uses = "actions/npm@3c8332795d5443adc712d30fa147db61fd520b5a" + needs = ["Install"] + runs = "yarn" + args = "build" +} + +action "Typings" { + uses = "actions/npm@3c8332795d5443adc712d30fa147db61fd520b5a" + needs = ["Install"] + runs = "yarn" + args = "typings" +}