Skip to content

Commit

Permalink
copy coverage-final -> coverage-summary
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Dec 14, 2023
1 parent d42bc56 commit 9e2f24f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
run: yarn install
- name: Test and Coverage
run: yarn coverage
- name: Move Coverage File
run: cp coverage/coverage-final.json coverage/coverage-summary.json
- name: Update Coverage Badge
# GitHub actions: default branch variable
# https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
node_modules
yarn.lock
yarn.lock
coverage
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"scripts": {
"build": "tsc",
"test": "vitest",
"test-ui": "vitest --ui --coverage.enabled=true",
"start": "node dist/app.js",
"dev": "tsc-watch --onSuccess 'node dist/app.js'",
"lint": "eslint . --ext .ts",
Expand All @@ -23,6 +24,7 @@
"devDependencies": {
"@types/ngeohash": "0.6.8",
"@vitest/coverage-v8": "1.0.4",
"@vitest/ui": "1.0.4",
"vite-tsconfig-paths": "4.2.2",
"vitest": "1.0.4"
}
Expand Down

0 comments on commit 9e2f24f

Please sign in to comment.