Skip to content

update ci badge

update ci badge #8

Workflow file for this run

name: "Run tests"
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, lts/*]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- name: Upload coverage to Codecov
if: matrix.node-version == 'lts/*'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: tests