From 2e3068f7f50329c9649d732168036060b3091d2c Mon Sep 17 00:00:00 2001 From: Rishi Kumar <1720744+mrrishimeena@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:09:12 +0530 Subject: [PATCH] chore: updated workflow steps --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e926736..ea13fd7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,15 +17,15 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm install - # Run tests and generate coverage report - # - run: npm test -- --coverage - # continue-on-error: false + Run tests and generate coverage report + - run: npm test -- --coverage + continue-on-error: false - # Send the coverage report to Coveralls - # - run: npm install coveralls --save-dev - # - run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - # env: - # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_SQLITE_TOKEN }} + Send the coverage report to Coveralls + - run: npm install coveralls --save-dev + - run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_SQLITE_TOKEN }} - run: npm publish env: