Skip to content

Bump codecov/codecov-action from 4 to 5 #93

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #93

Workflow file for this run

# This workflow runs the tests for the application and submits coverage report information to CodeCov on every push and Pull Requests that were open.
# It uses the Action described here https://github.com/marketplace/actions/codecov.
name: Jest Tests & Coverage
on: [push, pull_request]
jobs:
coverage:
runs-on: ubuntu-22.04
steps:
- name: Checkout Respository
uses: actions/checkout@v4
- name: Use Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run the tests # References https://about.codecov.io/blog/measuring-typescript-code-coverage-with-jest-and-github-actions/
run: npm test -- --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}