Skip to content

Upload coverage artifact to codecov. #16

Upload coverage artifact to codecov.

Upload coverage artifact to codecov. #16

Workflow file for this run

name: Continuous integration
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
check:
name: Check code
uses: collectionspace/.github/.github/workflows/check-js.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 14 in .github/workflows/ci-js.yml

View workflow run for this annotation

GitHub Actions / Continuous integration

Invalid workflow file

The workflow is not valid. .github/workflows/ci-js.yml (Line: 14, Col: 22): Invalid secret, CODECOV_TOKEN is not defined in the referenced workflow.
upload-coverage:
name: Upload coverage report
needs: check
runs-on: ubuntu-latest
steps:
- name: Download coverage report artifact
uses: actions/download-artifact@v4
with:
name: coverage
- name: Upload to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true