Skip to content

feat: test coverage (#1) #7

feat: test coverage (#1)

feat: test coverage (#1) #7

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- name: Run ESLint
run: npm run lint
- name: Build library
run: npm run build
- name: Run unit tests
run: npm run test:ci
- name: Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}