Skip to content

chore(deps-dev): bump @vitest/coverage-v8 from 4.1.2 to 4.1.10 #548

chore(deps-dev): bump @vitest/coverage-v8 from 4.1.2 to 4.1.10

chore(deps-dev): bump @vitest/coverage-v8 from 4.1.2 to 4.1.10 #548

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [20, 22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Install native build tools (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y build-essential python3
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Run tests with coverage
run: pnpm test:coverage
- name: Upload coverage to Codecov
if: runner.os == 'Linux' && matrix.node-version == 22
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: false
- run: pnpm build
- name: Verify publishable
run: node scripts/verify-publishable.mjs