Skip to content

publish coverage report to codecov #27

publish coverage report to codecov

publish coverage report to codecov #27

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm run format -- --check
- run: npm run coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: zigtools/release-worker
fail_ci_if_error: true
verbose: true