From 2b2b63927a5bc2cf37a5404307712dbec4f8ed98 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 31 Jan 2021 23:45:09 +0100 Subject: [PATCH] ci: enable code coverage report generation --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c2d62f0a0..70917118c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,9 +13,9 @@ jobs: with: node-version: "12.x" - run: npm install - - run: npm test - - run: xvfb-run --auto-servernum npm run e2e + - run: npm test -- --coverage - run: bash <(curl -s https://codecov.io/bash) + - run: xvfb-run --auto-servernum npm run e2e - run: npm run build:prod env: CI: true