Skip to content

Commit

Permalink
ci: fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
lazzzis committed Sep 30, 2024
1 parent 0477755 commit facac1f
Show file tree
Hide file tree
Showing 3 changed files with 7,362 additions and 4,818 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
- run: pnpm test && pnpm coverage
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
# with:
# directory: ./coverage/reports/
# files: ./coverage1.xml,./coverage2.xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "putong-oj",
"version": "2.0.0-beta",
"author": "lazzzis",
"license": "MIT",
"repository": "https://github.com/acm309/PutongOJ.git",
"main": "app.js",
"contributors": [
{
"name": "lazzzis",
Expand All @@ -15,6 +12,9 @@
"url": "https://github.com/Kerminate"
}
],
"license": "MIT",
"repository": "https://github.com/acm309/PutongOJ.git",
"main": "app.js",
"engines": {
"node": ">= 16.0.0"
},
Expand All @@ -29,53 +29,53 @@
"posttest": "cross-env NODE_ENV=test node test/posttest.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"prepare": "husky install"
},
"dependencies": {
"@antfu/eslint-config": "^2.4.6",
"cross-env": "^5.1.3",
"dotenv-flow": "^3.2.0",
"eslint": "^8.56.0",
"@antfu/eslint-config": "^2.27.3",
"cross-env": "^5.2.1",
"dotenv-flow": "^3.3.0",
"eslint": "^8.57.1",
"execa": "5.1.1",
"fs-extra": "^5.0.0",
"husky": "^8.0.3",
"ioredis": "^3.2.2",
"koa": "^2.4.1",
"koa-body": "^2.5.0",
"koa-logger": "^3.1.0",
"koa-router": "^7.3.0",
"koa-send": "^4.1.2",
"koa-session": "^5.5.1",
"koa-static": "^4.0.2",
"koa2-ratelimit": "^0.9.0",
"koa": "^2.15.3",
"koa-body": "^2.6.0",
"koa-logger": "^3.2.1",
"koa-router": "^7.4.0",
"koa-send": "^4.1.3",
"koa-session": "^5.13.1",
"koa-static": "^4.0.3",
"koa2-ratelimit": "^0.9.1",
"lodash.difference": "^4.5.0",
"lodash.pickby": "^4.6.0",
"lodash.range": "^3.2.0",
"lodash.remove": "^4.7.0",
"lodash.without": "^4.4.0",
"mongoose": "^6.1.3",
"mongoose-paginate-v2": "^1.6.3",
"node-fetch": "^2.0.0",
"nodemailer": "^4.6.4",
"mongoose": "^6.13.3",
"mongoose-paginate-v2": "^1.8.5",
"node-fetch": "^2.7.0",
"nodemailer": "^4.7.0",
"only": "^0.0.2",
"pm2": "^5.2.2",
"tracer": "^0.8.11",
"url-join": "^4.0.0",
"uuid": "^3.1.0"
"pm2": "^5.4.2",
"tracer": "^0.8.15",
"url-join": "^4.0.1",
"uuid": "^3.4.0"
},
"devDependencies": {
"ava": "^4.3.0",
"codecov": "^3.0.2",
"ava": "^4.3.3",
"codecov": "^3.8.3",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"nodemon": "^1.14.3",
"nodemon": "^1.19.4",
"nyc": "^15.1.0",
"supertest": "^3.0.0",
"typescript": "^4.7.4"
"supertest": "^3.4.2",
"typescript": "^4.9.5"
},
"nodemonConfig": {
"ignore": [
Expand Down
Loading

0 comments on commit facac1f

Please sign in to comment.