Skip to content

chore(deps): update dependency c8 to v9.1.0 #367

chore(deps): update dependency c8 to v9.1.0

chore(deps): update dependency c8 to v9.1.0 #367

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
env:
CI: true
COVERAGE: ${{ matrix.node-version == '20.x' && true || false }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn dist
- run: yarn test
# Coverage.
- name: Run coverage
if: ${{ env.COVERAGE == 'true' }}
run: |
yarn coverage
yarn coverage:report
- name: Report coverage
if: ${{ env.COVERAGE == 'true' }}
uses: codecov/codecov-action@v3
with:
files: coverage/coverage.lcov