From 2dc39e51a175f6576b274538d28158334638dfb4 Mon Sep 17 00:00:00 2001 From: Zay Yan Paing Hein <56286346+Zay-Yan@users.noreply.github.com> Date: Tue, 20 Feb 2024 00:48:43 +0630 Subject: [PATCH] Updated --- .github/workflows/solar-system.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/solar-system.yml b/.github/workflows/solar-system.yml index 4f5f2b63..72cd2f67 100644 --- a/.github/workflows/solar-system.yml +++ b/.github/workflows/solar-system.yml @@ -34,3 +34,23 @@ jobs: with: name: Mocha-Test-Result path: test-results.xml + + code-coverage: + name: code coverage + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Setup NodeJS + uses: actions/setup-node + - name: Install NodeJS dependencies + run: npm install + - name: Code-Coverage + continue-on-error: true + run: npm run code-coverage + - name: Code-Coverage-Result + uses: actions/upload-artifact@v3 + with: + name: Code-Coverage-Result + path: coverage + retention-days: 5 \ No newline at end of file