Skip to content

Commit

Permalink
coveralls corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed Jan 12, 2024
1 parent 2af3750 commit 3903828
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3903828

Please sign in to comment.