[go: up one dir, main page]

Skip to content

Commit

Permalink
chore: test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Aug 14, 2024
1 parent ae561f0 commit 55b1ff0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: pnpm install

- name: Test
run: pnpm run coverage
run: pnpm run test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
"build": "vite build",
"lint": "eslint src",
"format": "prettier --write --parser typescript \"src/**/*.ts\"",
"test": "vitest",
"coverage": "vitest run --coverage",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"ci": "npm run lint && npm run test && npm run build",
"release": ". ./scripts/release.sh"
},
Expand All @@ -55,7 +56,7 @@
"@types/eslint": "^9.x",
"@types/react": "^18.x",
"@types/react-dom": "^18.x",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.x",
"@vitest/coverage-v8": "^2.0.5",
"eslint": "^9.x",
"eslint-config-prettier": "^9.x",
Expand All @@ -68,7 +69,7 @@
"typescript": "^5.5.4",
"typescript-eslint": "^8.x",
"vite": "^5.4.0",
"vite-plugin-dts": "^4.0.2",
"vite-plugin-dts": "^4.0.3",
"vitest": "^2.x"
}
}
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

0 comments on commit 55b1ff0

Please sign in to comment.