From d0290c4c7c562c0c498bc5b73c3f180cc83e95bd Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Thu, 1 Aug 2019 09:36:35 +0200 Subject: [PATCH] Try a basic GitHub Actions workflow As a means of seeing how GitHub Actions work compared to Travis CI, these changes creates a so-called workflow that runs `$ npm test` upon every `$ git push` to the repository. --- .github/main.workflow | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..8b8b592 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,9 @@ +workflow "Verify changes on push" { + resolves = ["Run all tests"] + on = "push" +} + +action "Run all tests" { + uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" + args = "test" +}