Skip to content

test: enable working coverage provider for vitest #15

test: enable working coverage provider for vitest

test: enable working coverage provider for vitest #15

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
id-token: write
jobs:
build-test-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node & pnpm
uses: pnpm/action-setup@v2
with:
version: 8
node-version: 20
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Format check
run: pnpm format:check
- name: Run tests
run: pnpm test
- name: PR AI Review (local)
if: github.event_name == 'pull_request'
uses: ./.github/actions/pr-codex-local
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true
fail_ci_if_error: true
verbose: true