Skip to content

ascii-51: add coverage badge #1

ascii-51: add coverage badge

ascii-51: add coverage badge #1

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run tests and collect coverage
run: yarn test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}