Skip to content

Commit 2e18844

Browse files
committed
fixup! chore(ci): add new workflows
1 parent 757fefd commit 2e18844

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/code-coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- name: Run coverage and extract table
2424
run: |
2525
npm run test:coverage > full-coverage.txt || true
26-
# Extract the coverage table (lines between table header and footer)
2726
sed -n '/^-------------------------|---------|----------|---------|---------|/,$p' full-coverage.txt | \
28-
sed '/^=============================== Coverage summary ===============================/,$d' > coverage-table.txt
27+
sed '/^=============================== Coverage summary ===============================/,$d' | \
28+
# Remove first and last border lines:
29+
sed '1d;$d' > coverage-table.txt
2930
3031
- name: Comment test results
3132
uses: marocchino/sticky-pull-request-comment@v2

0 commit comments

Comments
 (0)