Skip to content

Commit 2ebdcc0

Browse files
committed
ci: Add coverage with codecov
1 parent 04fc452 commit 2ebdcc0

File tree

4 files changed

+117
-2
lines changed

4 files changed

+117
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ jobs:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
2828
- run: npm run build --if-present
29-
- run: npm run coverage
29+
- run: npm run coverage
30+
- run: ./node_modules/.bin/codecov

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
dist
2+
dist
3+
coverage

package-lock.json

Lines changed: 112 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@webpack-cli/init": "^1.0.2",
1616
"babel-plugin-syntax-dynamic-import": "^6.18.0",
1717
"clean-webpack-plugin": "^3.0.0",
18+
"codecov": "^3.8.1",
1819
"copy-webpack-plugin": "^6.2.1",
1920
"cross-env": "^7.0.2",
2021
"css-loader": "^5.0.0",

0 commit comments

Comments
 (0)