chore(deps-dev): bump @vitest/coverage-v8 from 2.0.3 to 2.0.5 #329
Workflow file for this run
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: Codecov | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run test -- --coverage | |
- name: Upload coverage to github actions artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage | |
path: coverage/ | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v4 |