From 39038282aa7a6ef17fde86c4e5e2d1789ddfa22a Mon Sep 17 00:00:00 2001 From: Kanstantsin Kamkou Date: Fri, 12 Jan 2024 17:22:40 +0100 Subject: [PATCH] coveralls corrections --- .github/workflows/node.js.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index c864848..2d7e146 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -8,12 +8,13 @@ on: jobs: test: - - runs-on: ubuntu-latest + name: Node ${{ matrix.node }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} strategy: matrix: - node-version: ['lts/*', '8', '10', '12', '14', '16', '18', '20'] + node: ['lts/*', '8', '10', '12', '14', '16', '18', '20'] + os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 @@ -22,8 +23,15 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm install + - run: npm test - env: - CI: false + + - name: Coveralls + uses: coverallsapp/github-action@v2 + with: + github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} + flag-name: ${{matrix.os}}-node-${{ matrix.node }} + parallel: true