From 23cb303a846df5b61fda58d0dfc5131c3935eeb4 Mon Sep 17 00:00:00 2001 From: Marco Montalbano Date: Thu, 29 Aug 2019 09:24:18 +0200 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2e69e4e..7cde2e3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -21,7 +21,7 @@ jobs: run: npm test - artifacts: + coverage: needs: [test] runs-on: ubuntu-latest @@ -41,6 +41,18 @@ jobs: name: coverage path: coverage/lcov-report + stryker: + needs: [test] + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Project setup `npm install` + run: npm install + - name: Run `stryker` run: | npm install @@ -53,7 +65,7 @@ jobs: publish: - needs: [test] + needs: [test, coverage] runs-on: ubuntu-latest steps: