chore(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 #574
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: 'Run Tests' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 'Install, lint, and test' | |
run: | | |
npm install | |
npm run lint | |
npm test | |
if: | | |
contains(github.event.commits[0].message, '[skip ci]') == false && | |
contains(github.event.commits[0].message, '[ci skip]') == false | |
- name: 'Upload coverage reports to Codecov' | |
uses: codecov/[email protected] | |
with: | |
fail_ci_if_error: false | |
file: ./coverage/lcov.info | |
flags: unittests | |
token: ${{ secrets.CODECOV_TOKEN }} | |
yml: ./codecov.yml |