chore(deps-dev): update vitest to 2.0.0 #711
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
push: | |
branches: [main] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
id: pnpm-install | |
with: | |
version: latest | |
run_install: false | |
- name: Setup Node.js lts/iron | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: lts/iron | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Generate coverage report | |
run: pnpm test:coverage | |
- name: Upload coverage report to Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |