Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Codecov #318

Merged
merged 1 commit into from
Jul 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 2.1
orbs:
ship: auth0/[email protected]
codecov: codecov/codecov@3

jobs:
build:
parameters:
Expand All @@ -13,19 +15,22 @@ jobs:
LANG: en_US.UTF-8
steps:
- checkout

- ship/node-install-packages

- run:
name: Run Linter
command: npm run lint

- run:
name: Run Tests
command: npm run test:ci

- store_artifacts:
path: ./coverage/<< parameters.node-version >>/lcov-report
- run:
name: Upload Coverage
when: on_success
command: bash <(curl -s https://codecov.io/bash) -Z -C $CIRCLE_SHA1

- codecov/upload

workflows:
build-and-test:
jobs:
Expand Down