Skip to content

Commit

Permalink
add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jan 20, 2024
1 parent 30d51a4 commit 9ce9e5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:

- name: Codecov
uses: codecov/codecov-action@v3
with:
files: ./report/coverage/codecov.json

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
},
"license": "MIT",
"dependencies": {
"vue": "^3.4.13"
"vue": "^3.4.15"
},
"devDependencies": {
"@playwright/experimental-ct-vue": "^1.40.1",
"@playwright/experimental-ct-vue": "^1.41.1",
"@vitejs/plugin-vue": "^5.0.3",
"eslint": "^8.56.0",
"eslint-config-plus": "^1.0.6",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-vue": "^9.20.1",
"monocart-reporter": "^2.2.3",
"vite": "^5.0.11"
"monocart-reporter": "^2.2.4",
"vite": "^5.0.12"
}
}
4 changes: 4 additions & 0 deletions playwright-ct.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ module.exports = defineConfig({

return list.join('/');
},
reports: [
'v8',
'codecov'
],
lcov: true
}
}]
Expand Down

0 comments on commit 9ce9e5f

Please sign in to comment.