Skip to content

Commit 5a2337b

Browse files
committed
💚 Archive code coverage report
Signed-off-by: kei-g <km.8k6ce+github@gmail.com>
1 parent 66e0c58 commit 5a2337b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
run: npm install
4444
- name: Check code coverages
4545
run: npm test
46+
- name: Archive code coverage report
47+
if: ${{ always() }}
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: code-coverage-report-${{ matrix.node }}
51+
path: coverage
4652
example:
4753
name: Run an example on Node.js ${{ matrix.node }}
4854
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)