Skip to content

Commit

Permalink
deps: Fix codecov (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree authored Oct 4, 2024
1 parent 9374060 commit f2cc3d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 160 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
- synchronize
- reopened

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -72,9 +69,11 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci --prefer-offline --no-audit
- run: |
npm run test -- --ci --coverage --reporters=default --reporters=jest-junit
npm run test:coverage
- run: npm run test -- --ci --coverage --reporters=default --reporters=jest-junit
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

depcheck:
runs-on: ubuntu-latest
Expand Down
152 changes: 0 additions & 152 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"build": "next build",
"test": "TZ=UTC jest",
"test:watch": "npm run test -- --watch",
"test:coverage": "codecov",
"test:update": "TZ=UTC jest -u",
"lint": "eslint . --ignore-path .gitignore --ext .js,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
Expand All @@ -68,7 +67,6 @@
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"babel-plugin-styled-components": "^2.0.0",
"codecov": "^3.8.2",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.57.1",
Expand Down

0 comments on commit f2cc3d6

Please sign in to comment.