From 930a485a28548a7e3cbdfca12884e16588559330 Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Thu, 1 Aug 2019 09:41:39 +0200 Subject: [PATCH] Install deps as part of GitHub Actions workflow ..forgot to install dependencies before executing `$ npm test` which obviously exploded due to the fact that `eslint` and friends weren't available. --- .github/main.workflow | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/main.workflow b/.github/main.workflow index 8b8b592..f906b7c 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -3,6 +3,11 @@ workflow "Verify changes on push" { on = "push" } +action "Install dependencies" { + uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" + args = "install" +} + action "Run all tests" { uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" args = "test"