Skip to content

Commit

Permalink
Add code coverage workflow (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth authored Jun 25, 2022
1 parent 9dac01f commit 51af74e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,25 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true

strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm update
- run: npm ci
- run: npm --depth 9999 update
- run: npm test
env:
CI: true
- name: Codecov
uses: codecov/[email protected]
with:
verbose: true

0 comments on commit 51af74e

Please sign in to comment.