From e146ae748ec9f9a284367fe836fb69e6b568b99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Mon, 17 Dec 2018 21:15:50 +0100 Subject: [PATCH] Create Test workflow --- .../.github/main.workflow | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 eslint/babel-eslint-plugin-development/.github/main.workflow diff --git a/eslint/babel-eslint-plugin-development/.github/main.workflow b/eslint/babel-eslint-plugin-development/.github/main.workflow new file mode 100644 index 0000000000..6bad3e1005 --- /dev/null +++ b/eslint/babel-eslint-plugin-development/.github/main.workflow @@ -0,0 +1,23 @@ +workflow "Build, Lint and Test" { + resolves = ["Test", "Lint"] + on = "push" +} + +action "Build" { + uses = "docker://node:10" + runs = "yarn" +} + +action "Test" { + needs = "Build" + uses = "docker://node:10" + runs = "yarn" + args = "test" +} + +action "Lint" { + needs = "Build" + uses = "docker://node:10" + runs = "yarn" + args = "lint" +}