Skip to content

Commit 7070ea7

Browse files
committed
chore: circle ci & codecov
1 parent d74b284 commit 7070ea7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.circleci/config.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2.1
22
orbs:
3-
codecov: codecov/codecov@1.1.1
3+
codecov: codecov/codecov@5
44
jobs:
55
test:
66
docker:
@@ -43,12 +43,12 @@ jobs:
4343
command: |
4444
yarn test:ci
4545
environment:
46-
JEST_JUNIT_OUTPUT_DIR: ./reports/
46+
JEST_JUNIT_OUTPUT_DIR: ./coverage/
4747
- store_test_results:
48-
path: ./reports/
48+
path: ./coverage/
4949
- codecov/upload:
5050
flags: unittest
51-
file:
51+
file: ./coverage/coverage-final.json
5252
- save_cache:
5353
paths:
5454
- ./node_modules
@@ -76,8 +76,6 @@ jobs:
7676
name: Publish package
7777
command: npm publish --tag latest
7878
deployBeta:
79-
environment:
80-
CODECOV_TOKEN: 08a98f72-f099-432a-a6b5-49c1f134fe90
8179
docker:
8280
- image: cimg/node:20.12.2
8381
working_directory: ~/repo

0 commit comments

Comments
 (0)