0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

ci(core): add codecov github action (#297)

* ci(core): add codecov github action

add codecov github action

* ci(core): update codecov uploader

update codecov uoloader

* ci(core): delete useless codecov yml

delete codecov yml

* chore(core): remove deprecated packages

remove deprecated pacakages
This commit is contained in:
simeng-li 2022-03-01 11:05:25 +08:00 committed by GitHub
parent 7af6973079
commit b03a666fde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 74 deletions

View file

@ -28,5 +28,8 @@ jobs:
- name: Test
run: pnpm -- lerna run --parallel test:coverage
- name: Coverage Report
run: pnpm -- lerna run --parallel test:report
- name: Codecov
uses: codecov/codecov-action@v2
with:
flags: core
directory: ./packages/core

View file

@ -24,7 +24,6 @@
"dayjs": "^1.10.5",
"decamelize": "^5.0.0",
"dotenv": "^10.0.0",
"formidable": "^1.2.2",
"got": "^11.8.2",
"i18next": "^20.3.5",
"jose": "^3.14.3",
@ -59,7 +58,6 @@
"@types/node": "^16.3.1",
"@types/oidc-provider": "^7.8.0",
"@types/supertest": "^2.0.11",
"codecov": "^3.8.3",
"eslint": "^8.10.0",
"jest": "^27.0.6",
"jest-matcher-specific-error": "^1.0.0",

71
pnpm-lock.yaml generated
View file

@ -80,12 +80,10 @@ importers:
'@types/node': ^16.3.1
'@types/oidc-provider': ^7.8.0
'@types/supertest': ^2.0.11
codecov: ^3.8.3
dayjs: ^1.10.5
decamelize: ^5.0.0
dotenv: ^10.0.0
eslint: ^8.10.0
formidable: ^1.2.2
got: ^11.8.2
i18next: ^20.3.5
jest: ^27.0.6
@ -124,7 +122,6 @@ importers:
dayjs: 1.10.7
decamelize: 5.0.1
dotenv: 10.0.0
formidable: 1.2.6
got: 11.8.3
i18next: 20.6.1
jose: 3.20.3
@ -158,7 +155,6 @@ importers:
'@types/node': 16.11.12
'@types/oidc-provider': 7.8.1
'@types/supertest': 2.0.11
codecov: 3.8.3
eslint: 8.10.0
jest: 27.4.4
jest-matcher-specific-error: 1.0.0
@ -3938,11 +3934,6 @@ packages:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
dev: true
/argv/0.0.2:
resolution: {integrity: sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=}
engines: {node: '>=0.6.10'}
dev: true
/aria-query/5.0.0:
resolution: {integrity: sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg==}
engines: {node: '>=6.0'}
@ -4620,21 +4611,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/codecov/3.8.3:
resolution: {integrity: sha512-Y8Hw+V3HgR7V71xWH2vQ9lyS358CbGCldWlJFR0JirqoGtOoas3R3/OclRTvgUYFK29mmJICDPauVKmpqbwhOA==}
engines: {node: '>=4.0'}
deprecated: https://about.codecov.io/blog/codecov-uploader-deprecation-plan/
hasBin: true
dependencies:
argv: 0.0.2
ignore-walk: 3.0.4
js-yaml: 3.14.1
teeny-request: 7.1.1
urlgrey: 1.0.0
transitivePeerDependencies:
- supports-color
dev: true
/collect-v8-coverage/1.0.1:
resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==}
dev: true
@ -6098,12 +6074,6 @@ packages:
resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}
dev: true
/fast-url-parser/1.1.3:
resolution: {integrity: sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0=}
dependencies:
punycode: 1.3.2
dev: true
/fastest-levenshtein/1.0.12:
resolution: {integrity: sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==}
dev: true
@ -9536,13 +9506,6 @@ packages:
resolution: {integrity: sha1-esGavSl+Caf3KnFUXZUbUX5N3iw=}
dev: true
/node-fetch/2.6.6:
resolution: {integrity: sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==}
engines: {node: 4.x || >=6.0.0}
dependencies:
whatwg-url: 5.0.0
dev: true
/node-fetch/2.6.7:
resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==}
engines: {node: 4.x || >=6.0.0}
@ -11113,10 +11076,6 @@ packages:
once: 1.4.0
dev: false
/punycode/1.3.2:
resolution: {integrity: sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=}
dev: true
/punycode/2.1.1:
resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}
engines: {node: '>=6'}
@ -12150,12 +12109,6 @@ packages:
duplexer: 0.1.2
dev: true
/stream-events/1.0.5:
resolution: {integrity: sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==}
dependencies:
stubs: 3.0.0
dev: true
/strict-uri-encode/2.0.0:
resolution: {integrity: sha1-ucczDHBChi9rFC3CdLvMWGbONUY=}
engines: {node: '>=4'}
@ -12316,10 +12269,6 @@ packages:
through: 2.3.8
dev: true
/stubs/3.0.0:
resolution: {integrity: sha1-6NK6H6nJBXAwPAMLaQD31fiavls=}
dev: true
/style-search/0.1.0:
resolution: {integrity: sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=}
dev: true
@ -12584,19 +12533,6 @@ packages:
yallist: 4.0.0
dev: true
/teeny-request/7.1.1:
resolution: {integrity: sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==}
engines: {node: '>=10'}
dependencies:
http-proxy-agent: 4.0.1
https-proxy-agent: 5.0.0
node-fetch: 2.6.6
stream-events: 1.0.5
uuid: 8.3.2
transitivePeerDependencies:
- supports-color
dev: true
/temp-dir/1.0.0:
resolution: {integrity: sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=}
engines: {node: '>=4'}
@ -13113,12 +13049,6 @@ packages:
dependencies:
punycode: 2.1.1
/urlgrey/1.0.0:
resolution: {integrity: sha512-hJfIzMPJmI9IlLkby8QrsCykQ+SXDeO2W5Q9QTW3QpqZVTx4a/K7p8/5q+/isD8vsbVaFgql/gvAoQCRQ2Cb5w==}
dependencies:
fast-url-parser: 1.1.3
dev: true
/util-deprecate/1.0.2:
resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=}
@ -13146,6 +13076,7 @@ packages:
/uuid/8.3.2:
resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
hasBin: true
dev: false
/v8-compile-cache/2.3.0:
resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==}