Skip to content

Commit

Permalink
Merge pull request #115 from codecov/node-test-example
Browse files Browse the repository at this point in the history
Add example with node/test
  • Loading branch information
thomasrockhu-codecov committed Oct 13, 2021
2 parents 9d3c2c7 + 8157e01 commit bfca449
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/basic_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >
usage:
version: 2.1
orbs:
codecov: codecov/codecov@1.2.4
codecov: codecov/codecov@3.1.1
workflows:
upload-to-codecov:
jobs:
Expand Down
14 changes: 14 additions & 0 deletions src/examples/node_test_upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: >
Upload coverage with Codecov
Create a simple flow to upload coverage reports to Codecov and use CircleCI's node/test job
usage:
version: 2.1
orbs:
node: circleci/node@4.7.0
codecov: codecov/codecov@3.1.1
workflows:
upload-to-codecov:
jobs:
- node/test:
post-steps:
- codecov/upload

0 comments on commit bfca449

Please sign in to comment.