chore: fix coveralls #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: ['push', 'pull_request', workflow_dispatch] | |
name: Test Coveralls | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install npm dependencies | |
run: npm install # switch to `npm ci` when Node.js 6 support is dropped | |
- name: Run tests | |
run: npm run test:coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: ${{matrix.os}}-node-${{ matrix.node }} | |
parallel: true |