From b438895e1cc17f8c516180a6cb0be74af9e1de18 Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Mon, 22 Jan 2024 12:28:30 +0700 Subject: [PATCH] Fix CI coverall --- .github/workflows/ci-test.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index e3d79e8..e4e1175 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -31,9 +31,11 @@ jobs: npm run build --if-present npm run test - - name: Report Coveralls + - name: Coveralls Parallel uses: coverallsapp/github-action@v2 with: + flag-name: run-${{ join(matrix.*, '-') }} + parallel: true github-token: ${{ secrets.GITHUB_TOKEN }} - name: cache node modules @@ -43,3 +45,14 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- + + finish: + needs: test + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true + carryforward: "run-18.x,run-20.x,run-21.x"